# Local_Tokens.h File Reference

`#include "ace/config-all.h"`
`#include "ace/Synch_Traits.h"`
`#include "ace/Condition_Thread_Mutex.h"`
`#include "ace/TSS_T.h"`
`#include "ace/Containers.h"`
`#include "ace/Synch_Options.h"`
`#include "ace/Map_Manager.h"`
`#include "ace/Log_Msg.h"`
`#include "ace/OS_NS_string.h"`
`#include "ace/os_include/os_netdb.h"`
`#include "ace/Local_Tokens.inl"`

Include dependency graph for Local_Tokens.h:

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

## Namespaces

namespace | ACE_TOKEN_CONST

## Classes

class | ACE_TPQ_Entry
| Token Proxy Queue entry. Used in the ACE_Token_Proxy_Queue. More...
class | ACE_TSS_TPQ_Entry
| ACE_TSS_TPQ_Entry. More...
class | ACE_TPQ_Iterator
| Iterates through ACE_Token_Proxy_Queues. More...
class | ACE_Token_Proxy_Queue
| Token waiter list. More...
class | ACE_Tokens
| Abstract representation of ACE tokens. More...
class | ACE_Mutex_Token
| Class that acquires, renews, and releases a process-local synchronization token. More...
class | ACE_RW_Token
| Class that acquires, renews, and releases a process-local synchronization token. More...
class | ACE_Token_Name
| Allows Token_Manger to identify tokens. More...
class | ACE_Token_Proxy
| Abstract representation of ACE tokens. More...
class | ACE_Null_Token
| No op class for nonthreaded platform protocols. More...
class | ACE_Local_Mutex
| Class that acquires, renews, and releases a synchronization token local to the process. More...
class | ACE_Local_RLock
| Class that acquires, renews, and releases a readers lock that is local to the process. More...
class | ACE_Local_WLock
| Class that acquires, renews, and releases a writer lock that is local to the process. More...

## Defines

#define | ACE_NO_TSS_TOKENS 1

## Typedefs

typedef ACE_TPQ_Entry | ACE_TPQ_ENTRY

## Detailed Description

Id
  Local_Tokens.h,v 4.52 2006/02/10 10:00:29 jwillemsen Exp

Author:
  Karl-Heinz Dorn <kdorn@erlh.siemens.de>

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

  Tim Harrison <harrison@cs.wustl.edu>

This file contains definitions for the following classes:

public: 7. ACE_Token_Proxy 8. ACE_Null_Token : public ACE_Token_Proxy 9. ACE_Local_Mutex : public ACE_Token_Proxy *. ACE_Local_RLock : public ACE_Local_Mutex &. ACE_Local_WLock : public ACE_Local_Mutex private: 1. ACE_TOKEN_CONST 3. ACE_TPQ_Entry b. ACE_TSS_TPQ_Entry c. ACE_TPQ_Iterator 4. ACE_Token_Proxy_Queue 5. ACE_Tokens 6. ACE_Mutex_Token : public ACE_Tokens 12. ACE_RW_Token : public ACE_Tokens a. ACE_Token_Name

Note that the locking classes defined in this file are *not* intended to be used as general-purpose synchronization mechanisms, such as mutexes or semaphores. Instead, you should use the ACE_Recursive_Thread_Mutex, ACE_Thread_Mutex, ACE_Thread_Semaphore, etc., that are defined in $ACE_ROOT/ace/Synch.h and $ACE_ROOT/ace/Synch_T.h or the ACE_Token that's defined in $ACE_ROOT/ace/Token.h.

## Define Documentation

#define ACE_NO_TSS_TOKENS 1

## Typedef Documentation

typedef ACE_TPQ_Entry ACE_TPQ_ENTRY