8 void setType(
int type) {pthread_mutexattr_settype(&
attr, type);}
9 int getType()
const {
int rv = 0; pthread_mutexattr_gettype(&
attr, &rv);
return rv; }
13 operator const pthread_mutexattr_t & ()
const {
return attr;}
14 operator pthread_mutexattr_t & () {
return attr;}
22 void lock() throw() {pthread_mutex_lock(&
obj);}
28 void create(
const pthread_mutexattr_t * attr );
80 pthread_rwlockattr_setpshared( &
attr, val ? PTHREAD_PROCESS_SHARED : PTHREAD_PROCESS_PRIVATE );
91 void create(
const pthread_rwlockattr_t * attr );
142 #define insync(X) c_insync blah____sync(X)
145 #define inReadSync( X ) ::pfc::_readWriteLock_scope_read _asdf_l_readWriteLock_scope_read( X )
146 #define inWriteSync( X ) ::pfc::_readWriteLock_scope_write _asdf_l_readWriteLock_scope_write( X )
void operator=(const readWriteLockBase &)
pfc::mutexRecurStatic critical_section_static
readWriteLockBase & m_lock
void operator=(const mutexScope &)
void create(const pthread_mutexattr_t *attr)
void operator=(const _readWriteLock_scope_write &)
~_readWriteLock_scope_read()
void operator=(const readWriteLockAttr &)
pfc::mutexRecur critical_section
void setProcessShared(bool val=true)
void operator=(const mutexBase &)
~_readWriteLock_scope_write()
readWriteLockBase & m_lock
void create(const pthread_rwlockattr_t *attr)
void operator=(const mutexAttr &)
_readWriteLock_scope_read(readWriteLockBase &lock)
void operator=(const _readWriteLock_scope_read &)
_readWriteLock_scope_write(readWriteLockBase &lock)
pthread_rwlockattr_t attr