#include <msclr/lock.h>
template<class T >
msclr::lock::lock |
( |
T^ |
_object | ) |
|
|
inline |
50 typedef is_not<T, System::Threading::ReaderWriterLock>::__dont_use_this_type__ _Diagnostic;
52 acquire(System::Threading::Timeout::Infinite);
bool m_locked
Definition: lock.h:37
System::Object m_object
Definition: lock.h:36
void acquire()
Definition: lock.h:182
template<class T >
msclr::lock::lock |
( |
T^ |
_object, |
|
|
int |
_timeout |
|
) |
| |
|
inline |
60 typedef is_not<T, System::Threading::ReaderWriterLock>::__dont_use_this_type__ _Diagnostic;
bool m_locked
Definition: lock.h:37
System::Object m_object
Definition: lock.h:36
void acquire()
Definition: lock.h:182
template<class T >
msclr::lock::lock |
( |
T^ |
_object, |
|
|
System::TimeSpan |
_timeout |
|
) |
| |
|
inline |
72 typedef is_not<T, System::Threading::ReaderWriterLock>::__dont_use_this_type__ _Diagnostic;
bool m_locked
Definition: lock.h:37
System::Object m_object
Definition: lock.h:36
void acquire()
Definition: lock.h:182
84 typedef is_not<T, System::Threading::ReaderWriterLock>::__dont_use_this_type__ _Diagnostic;
bool m_locked
Definition: lock.h:37
System::Object m_object
Definition: lock.h:36
template<class T >
msclr::lock::lock |
( |
gcroot< T^> |
_object | ) |
|
|
inline |
93 typedef is_not<T, System::Threading::ReaderWriterLock>::__dont_use_this_type__ _Diagnostic;
95 acquire(System::Threading::Timeout::Infinite);
bool m_locked
Definition: lock.h:37
System::Object m_object
Definition: lock.h:36
void acquire()
Definition: lock.h:182
template<class T >
msclr::lock::lock |
( |
gcroot< T^> |
_object, |
|
|
int |
_timeout |
|
) |
| |
|
inline |
104 typedef is_not<T, System::Threading::ReaderWriterLock>::__dont_use_this_type__ _Diagnostic;
bool m_locked
Definition: lock.h:37
System::Object m_object
Definition: lock.h:36
void acquire()
Definition: lock.h:182
template<class T >
msclr::lock::lock |
( |
gcroot< T^> |
_object, |
|
|
System::TimeSpan |
_timeout |
|
) |
| |
|
inline |
116 typedef is_not<T, System::Threading::ReaderWriterLock>::__dont_use_this_type__ _Diagnostic;
bool m_locked
Definition: lock.h:37
System::Object m_object
Definition: lock.h:36
void acquire()
Definition: lock.h:182
128 typedef is_not<T, System::Threading::ReaderWriterLock>::__dont_use_this_type__ _Diagnostic;
bool m_locked
Definition: lock.h:37
System::Object m_object
Definition: lock.h:36
void release()
Definition: lock.h:242
void msclr::lock::acquire |
( |
int |
_timeout | ) |
|
|
inline |
176 static const long _hresult_wait_timeout = 0x80070102;
177 throw System::Runtime::InteropServices::Marshal::GetExceptionForHR( _hresult_wait_timeout );
bool m_locked
Definition: lock.h:37
System::Object m_object
Definition: lock.h:36
void msclr::lock::acquire |
( |
| ) |
|
|
inline |
186 System::Threading::Monitor::TryEnter(
m_object,
187 System::Threading::Timeout::Infinite,
m_locked );
190 static const long _hresult_wait_timeout = 0x80070102;
191 throw System::Runtime::InteropServices::Marshal::GetExceptionForHR( _hresult_wait_timeout );
bool m_locked
Definition: lock.h:37
System::Object m_object
Definition: lock.h:36
void msclr::lock::acquire |
( |
System::TimeSpan |
_timeout | ) |
|
|
inline |
205 static const long _hresult_wait_timeout = 0x80070102;
206 throw System::Runtime::InteropServices::Marshal::GetExceptionForHR( _hresult_wait_timeout );
bool m_locked
Definition: lock.h:37
System::Object m_object
Definition: lock.h:36
bool msclr::lock::is_locked |
( |
| ) |
|
|
inline |
bool m_locked
Definition: lock.h:37
static _safe_bool const _safe_false
Definition: safebool.h:39
static _safe_bool const _safe_true
Definition: safebool.h:38
bool is_locked()
Definition: lock.h:139
template<class T >
bool msclr::lock::operator!= |
( |
T |
t | ) |
|
|
inline |
162 typedef is_not<T, _detail_class::_safe_bool>::__dont_use_this_type__ _Diagnostic;
System::Object m_object
Definition: lock.h:36
template<class T >
bool msclr::lock::operator== |
( |
T |
t | ) |
|
|
inline |
154 typedef is_not<T, _detail_class::_safe_bool>::__dont_use_this_type__ _Diagnostic;
System::Object m_object
Definition: lock.h:36
void msclr::lock::release |
( |
| ) |
|
|
inline |
246 System::Threading::Monitor::Exit(
m_object );
bool m_locked
Definition: lock.h:37
System::Object m_object
Definition: lock.h:36
bool msclr::lock::try_acquire |
( |
int |
_timeout | ) |
|
|
inline |
bool m_locked
Definition: lock.h:37
System::Object m_object
Definition: lock.h:36
bool msclr::lock::try_acquire |
( |
System::TimeSpan |
_timeout | ) |
|
|
inline |
bool m_locked
Definition: lock.h:37
System::Object m_object
Definition: lock.h:36
bool msclr::lock::m_locked |
|
private |
System::Object msclr::lock::m_object |
|
private |
The documentation for this class was generated from the following file: