NAME

ACE_Thread_Mutex - ACE_Thread_Mutex wrapper (only valid for threads in the same process).

SYNOPSIS

#include <ace/Synch.h>

class ACE_Thread_Mutex { public: friend class ACE_Condition_Thread_Mutex; ACE_Thread_Mutex (LPCTSTR name = 0, void *arg = 0); ~ACE_Thread_Mutex (void); int remove (void); int acquire (void); int tryacquire (void); int release (void); int acquire_read (void); int acquire_write (void); int tryacquire_read (void); int tryacquire_write (void); const ACE_thread_mutex_t &lock (void) const; void dump (void) const; ACE_ALLOC_HOOK_DECLARE; ACE_thread_mutex_t lock_; int removed_; private: void operator= (const ACE_Thread_Mutex &); ACE_Thread_Mutex (const ACE_Thread_Mutex &); };

DESCRIPTION

Wrappers for various synchronization routines.

Prevent assignment and initialization.

void operator= (const ACE_Thread_Mutex &);

ACE_Thread_Mutex (const ACE_Thread_Mutex &);

AUTHOR

Doug Schmidt

LIBRARY

ace