version 1.3, 2006/01/30 16:17:05
|
version 1.3.2.1, 2006/10/04 19:40:04
|
|
|
| |
inline PEGASUS_THREAD_TYPE get_owner() { return(_mutex.owner); } | inline PEGASUS_THREAD_TYPE get_owner() { return(_mutex.owner); } |
| |
|
#if defined(PEGASUS_OS_LINUX) |
|
/** |
|
This method must only be called after a fork() to reset the mutex |
|
lock status in the new process. Any other use of this method is |
|
unsafe. |
|
*/ |
|
void reinitialize(); |
|
#endif |
|
|
private: | private: |
inline void _set_owner(PEGASUS_THREAD_TYPE owner) { _mutex.owner = owner; } | inline void _set_owner(PEGASUS_THREAD_TYPE owner) { _mutex.owner = owner; } |
PEGASUS_MUTEX_HANDLE _mutex; | PEGASUS_MUTEX_HANDLE _mutex; |