Reference

ACE_MT_SYNCH(3)

Implement a default thread safe synchronization wrapper that typedefs the ACE_Condition and ACE_Mutex to the ACE_Condition and ACE_Mutex versions. Note that this should be a template, but SunC++ 4.0.1 complains about this...

NAME

ACE_MT_SYNCH - Implement a default thread safe synchronization wrapper that typedefs the ACE_Condition and ACE_Mutex to the ACE_Condition and ACE_Mutex versions. Note that this should be a template, but SunC++ 4.0.1 complains about this...

SYNOPSIS

#include <ace/Synch_T.h>
class ACE_MT_SYNCH
{
  public:
    typedef ACE_Thread_Mutex MUTEX;
    typedef ACE_Null_Mutex NULL_MUTEX;
    typedef ACE_Process_Mutex PROCESS_MUTEX;
    typedef ACE_Recursive_Thread_Mutex RECURSIVE_MUTEX;
    typedef ACE_RW_Thread_Mutex RW_MUTEX;
    typedef ACE_Condition_Thread_Mutex CONDITION;
    typedef ACE_Thread_Semaphore SEMAPHORE;
    typedef ACE_Null_Semaphore NULL_SEMAPHORE;
};

PUBLIC MEMBERS

typedef ACE_Thread_Mutex MUTEX;

typedef ACE_Null_Mutex NULL_MUTEX;

typedef ACE_Process_Mutex PROCESS_MUTEX;

typedef ACE_Recursive_Thread_Mutex RECURSIVE_MUTEX;

typedef ACE_RW_Thread_Mutex RW_MUTEX;

typedef ACE_Condition_Thread_Mutex CONDITION;

typedef ACE_Thread_Semaphore SEMAPHORE;

typedef ACE_Null_Semaphore NULL_SEMAPHORE;

AUTHOR

Doug Schmidt

LIBRARY

ace