29 #if defined _SYSTEM_LXRT_ 33 #if defined _SYSTEM_POSIX_ 35 #elif defined _SYSTEM_WIN32_ 38 # error "No rwlock implementation defined for this platform." 49 #if defined _SYSTEM_LXRT_ 59 m_impl =
new RWLockImplLxrt;
67 #elif defined _SYSTEM_POSIX_ 71 #elif defined _SYSTEM_WIN32_ 90 << (result ?
"successful" :
"failed") <<
"." <<
endl);
97 << timeout <<
" ..." <<
endl);
100 << (result ?
"successful" :
"failed") <<
"." <<
endl);
107 << timeout <<
" ..." <<
endl);
110 << (result ?
"successful" :
"failed") <<
"." <<
endl);
119 << (result ?
"successful" :
"failed") <<
"." <<
endl);
128 << (result ?
"successful" :
"failed") <<
"." <<
endl);
135 << timeout <<
" ..." <<
endl);
138 << (result ?
"successful" :
"failed") <<
"." <<
endl);
145 << timeout <<
" ..." <<
endl);
148 << (result ?
"successful" :
"failed") <<
"." <<
endl);
157 << (result ?
"successful" :
"failed") <<
"." <<
endl);
168 #ifdef _IC_BUILDER_DEPRECATED_STYLE_ 173 bool RWLock::ReadLock()
199 bool RWLock::TryReadLock()
207 bool RWLock::WriteLock()
233 bool RWLock::TryWriteLock()
241 void RWLock::Unlock()
Defines icl_core::thread::RWLockImplLxrt.
Represents absolute times.
virtual bool tryReadLock()=0
virtual bool readLock()=0
Contains icl_core::thread::RWLock.
virtual bool tryWriteLock()=0
Contains logging definitions for the icl_core_thread library.
Contains icl_core::thread::RWLockImplPosix.
ThreadStream & endl(ThreadStream &stream)
const TimeSpan timeout(1, 0)
Contains global LXRT functions.
Repesents absolute times.
virtual bool writeLock()=0
Contains icl_core::thread::RWLockImplWin32.
#define LOGGING_TRACE_C(streamname, classname, arg)