Synch_Traits.h File Reference

#include "ace/config-all.h"
#include "ace/Lock.h"

Include dependency graph for Synch_Traits.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

class  ACE_NULL_SYNCH
 Implement a do nothing Synchronization wrapper that typedefs the ACE_Condition and ACE_Mutex to the Null* versions. More...

class  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. More...


Defines

#define ACE_SYNCH_MUTEX   ACE_SYNCH::MUTEX
#define ACE_SYNCH_NULL_MUTEX   ACE_SYNCH::NULL_MUTEX
#define ACE_SYNCH_RECURSIVE_MUTEX   ACE_SYNCH::RECURSIVE_MUTEX
#define ACE_SYNCH_RW_MUTEX   ACE_SYNCH::RW_MUTEX
#define ACE_SYNCH_CONDITION   ACE_SYNCH::CONDITION
#define ACE_SYNCH_RECURSIVE_CONDITION   ACE_SYNCH::RECURSIVE_CONDITION
#define ACE_SYNCH_NULL_SEMAPHORE   ACE_SYNCH::NULL_SEMAPHORE
#define ACE_SYNCH_SEMAPHORE   ACE_SYNCH::SEMAPHORE
#define ACE_SYNCH_PROCESS_SEMAPHORE   ACE_Process_Semaphore
#define ACE_SYNCH_PROCESS_MUTEX   ACE_Process_Mutex
#define ACE_SYNCH   ACE_MT_SYNCH

Variables

ACE_BEGIN_VERSIONED_NAMESPACE_DECL
class 
ACE_Null_Mutex


Detailed Description

Synch_Traits.h,v 4.5 2005/10/28 16:14:56 ossama Exp

Moved from Synch.h.

Author:
Douglas C. Schmidt <schmidt@cs.wustl.edu>

Definition in file Synch_Traits.h.


Define Documentation

#define ACE_SYNCH   ACE_MT_SYNCH
 

Definition at line 144 of file Synch_Traits.h.

#define ACE_SYNCH_CONDITION   ACE_SYNCH::CONDITION
 

Definition at line 99 of file Synch_Traits.h.

#define ACE_SYNCH_MUTEX   ACE_SYNCH::MUTEX
 

Definition at line 95 of file Synch_Traits.h.

Referenced by ACE_POSIX_Asynch_Accept::accept(), ACE_Based_Pointer_Repository::bind(), ACE_WIN32_Asynch_Connect::cancel(), ACE_POSIX_Asynch_Connect::cancel(), ACE_POSIX_Asynch_Accept::cancel(), ACE_WIN32_Asynch_Connect::close(), ACE_POSIX_Asynch_Connect::close(), ACE_POSIX_Asynch_Accept::close(), ACE_WIN32_Asynch_Connect::connect(), ACE_POSIX_Asynch_Connect::connect(), ACE_Select_Reactor_Notify::dispatch_notify(), ACE_Based_Pointer_Repository::find(), ACE_Utils::UUID_Generator::generateUUID(), ACE_Utils::UUID_Generator::get_timestamp(), ACE_POSIX_AIOCB_Proactor::getq_result(), ACE_WIN32_Asynch_Connect::handle_close(), ACE_POSIX_Asynch_Connect::handle_close(), ACE_POSIX_Asynch_Accept::handle_close(), ACE_POSIX_Asynch_Accept::handle_input(), ACE_WIN32_Asynch_Connect::handle_output(), ACE_POSIX_Asynch_Connect::handle_output(), ACE_Utils::UUID_Generator::init(), ACE_Utils::UUID_Generator::lock(), ACE_Select_Reactor_Notify::notify(), ACE_Dev_Poll_Reactor_Notify::notify(), ACE_POSIX_AIOCB_Proactor::post_completion(), ACE_WFMO_Reactor_Notify::purge_pending_notifications(), ACE_Select_Reactor_Notify::purge_pending_notifications(), ACE_Dev_Poll_Reactor_Notify::purge_pending_notifications(), ACE_Dev_Poll_Reactor_Notify::read_notify_pipe(), ACE_Based_Pointer_Repository::unbind(), and ACE_Utils::UUID_Generator::UUID_Generator().

#define ACE_SYNCH_NULL_MUTEX   ACE_SYNCH::NULL_MUTEX
 

Definition at line 96 of file Synch_Traits.h.

#define ACE_SYNCH_NULL_SEMAPHORE   ACE_SYNCH::NULL_SEMAPHORE
 

Definition at line 101 of file Synch_Traits.h.

#define ACE_SYNCH_PROCESS_MUTEX   ACE_Process_Mutex
 

Definition at line 141 of file Synch_Traits.h.

Referenced by ACE_MT_MEM_IO::init(), ACE_MT_MEM_IO::recv_buf(), and ACE_MT_MEM_IO::send_buf().

#define ACE_SYNCH_PROCESS_SEMAPHORE   ACE_Process_Semaphore
 

Definition at line 140 of file Synch_Traits.h.

Referenced by ACE_MT_MEM_IO::init().

#define ACE_SYNCH_RECURSIVE_CONDITION   ACE_SYNCH::RECURSIVE_CONDITION
 

Definition at line 100 of file Synch_Traits.h.

#define ACE_SYNCH_RECURSIVE_MUTEX   ACE_SYNCH::RECURSIVE_MUTEX
 

Definition at line 97 of file Synch_Traits.h.

Referenced by ace_yylex(), ACE_Thread_Timer_Queue_Adapter< TQ >::cancel(), ACE_Thread_Timer_Queue_Adapter< TQ >::deactivate(), ACE_Thread_Timer_Queue_Adapter< TQ >::schedule(), ACE_Proactor::schedule_timer(), and ACE_Thread_Timer_Queue_Adapter< TQ >::svc().

#define ACE_SYNCH_RW_MUTEX   ACE_SYNCH::RW_MUTEX
 

Definition at line 98 of file Synch_Traits.h.

Referenced by ACE_Filecache::create(), ACE_Filecache::fetch(), ACE_Object_Manager::fini(), ACE_Filecache::finish(), ACE_Object_Manager::init(), ACE_Filecache::instance(), and ACE_Filecache::remove().

#define ACE_SYNCH_SEMAPHORE   ACE_SYNCH::SEMAPHORE
 

Definition at line 102 of file Synch_Traits.h.


Variable Documentation

ACE_BEGIN_VERSIONED_NAMESPACE_DECL class ACE_Null_Mutex
 

Definition at line 29 of file Synch_Traits.h.

Referenced by ACE_Read_Guard< ACE_Null_Mutex >::ACE_Read_Guard(), ACE_Write_Guard< ACE_Null_Mutex >::ACE_Write_Guard(), and ACE_Malloc_Lock_Adapter_T< ACE_Null_Mutex >::operator()().


Generated on Thu Nov 9 11:11:48 2006 for ACE by doxygen 1.3.6