Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages

# OS.h File Reference

`#include "ace/pre.h"`
`#include "ace/config-all.h"`
`#include "ace/OS_Dirent.h"`
`#include "ace/OS_String.h"`
`#include "ace/OS_Memory.h"`
`#include "ace/OS_TLI.h"`
`#include "ace/OS_Errno.h"`
`#include "ace/Min_Max.h"`
`#include "ace/streams.h"`
`#include "ace/Basic_Types.h"`
`#include "ace/Trace.h"`
`#include "ace/post.h"`

Include dependency graph for OS.h:

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

## Compounds
class | ACE_Accept_QoS_Params
class | ACE_Cleanup
class | ACE_Cleanup_Info
class | ACE_Countdown_Time
class | ACE_OS::ace_flock_t
class | ACE_Flow_Spec
class | ACE_Object_Manager_Base
class | ACE_OS
class | ACE_OS_Exit_Info
class | ACE_OS_Object_Manager
struct | ACE_Protocol_Info
class | ACE_QoS
class | ACE_QoS_Params
class | ACE_recursive_thread_mutex_t
class | ACE_Str_Buf
class | ACE_Thread_ID
class | ACE_Time_Value
class | ACE_TSS_Info
class | ACE_TSS_Keys
class | ACE_TSS_Ref
struct | cancel_state
struct | iovec
struct | ip_mreq
struct | msghdr
struct | msghdr
struct | msqid_ds
struct | rusage
union | semun
struct | shmaddr
struct | siginfo_t
struct | strbuf
struct | timespec
## Service Configurator macros
The following macros are used to define helper objects used in ACE's Service Configurator. This is an implementation of the Service Configurator pattern: http://www.cs.wustl.edu/~schmidt/PDF/SvcConf.pdf The intent of this pattern is to allow developers to dynamically load and configure services into a system. With a little help from this macros statically linked services can also be dynamically configured. More details about this component are available in the documentation of the ACE_Service_Configurator class and also ACE_Dynamic_Service. Notice that in all the macros the SERVICE_CLASS parameter must be the name of a class derived from ACE_Service_Object.
#define | ACE_STATIC_SVC_DECLARE(SERVICE_CLASS)
| Declare a the data structure required to register a statically linked service into the service configurator. More...
#define | ACE_STATIC_SVC_DECLARE_EXPORT(EXPORT_NAME,SERVICE_CLASS)
| As ACE_STATIC_SVC_DECLARE, but using an export macro for NT compilers. More...
#define | ACE_STATIC_SVC_DEFINE(SERVICE_CLASS, NAME, TYPE, FN, FLAGS, ACTIVE)
| Define the data structure used to register a statically linked service into the Service Configurator. More...
#define | ACE_STATIC_SVC_REQUIRE(SERVICE_CLASS)
| Automatically register a service with the service configurator. More...
#define | ACE_STATIC_SVC_REGISTER(SERVICE_CLASS) do {} while (0)
#define | ACE_FACTORY_DECLARE(CLS,SERVICE_CLASS)
| Declare the factory method used to create dynamically loadable services. More...
#define | ACE_FACTORY_DEFINE(CLS,SERVICE_CLASS)
| Define the factory method (and destructor) for a dynamically loadable service. More...
#define | ACE_SVC_NAME(SERVICE_CLASS) _make_##SERVICE_CLASS
| The canonical name for a service factory method.
#define | ACE_SVC_INVOKE(SERVICE_CLASS) _make_##SERVICE_CLASS (0)
| The canonical way to invoke (i.e. construct) a service factory method.
## Helper macros for services defined in the netsvcs library.
The ACE services defined in netsvcs use this helper macros for simplicity. Todo: The macros should be moved into the netsvcs library, they have no place in ace/OS.h
#define | ACE_SVC_FACTORY_DECLARE(X) ACE_FACTORY_DECLARE (ACE_Svc, X)
#define | ACE_SVC_FACTORY_DEFINE(X) ACE_FACTORY_DEFINE (ACE_Svc, X)
## A set of wrappers for low-level file operations.
#define | ACE_DEFAULT_OPEN_PERMS (FILE_SHARE_READ | FILE_SHARE_WRITE)
## Defines
#define | _SC_AIO_MAX 1
#define | ACE_DEFAULT_PAGEFILE_POOL_BASE (void *) 0
#define | ACE_DEFAULT_PAGEFILE_POOL_SIZE (size_t) 0x01000000
#define | ACE_DEFAULT_PAGEFILE_POOL_CHUNK (size_t) 0x00010000
#define | ACE_DEFAULT_PAGEFILE_POOL_NAME ACE_LIB_TEXT ("Default_ACE_Pagefile_Memory_Pool")
#define | ACE_DEFAULT_MESSAGE_BLOCK_PRIORITY 0
#define | ACE_DEFAULT_SERVICE_REPOSITORY_SIZE 1024
#define | ACE_REACTOR_NOTIFICATION_ARRAY_SIZE 1024
#define | ACE_ASCII_SIZE 128
#define | ACE_EBCDIC_SIZE 256
#define | ACE_HAS_ASCII
#define | ACE_STANDARD_CHARACTER_SET_SIZE 128
#define | ACE_CORBA_1(NAME) CORBA::NAME
#define | ACE_CORBA_2(TYPE, NAME) CORBA::TYPE::NAME
#define | ACE_CORBA_3(TYPE, NAME) CORBA::TYPE::NAME
#define | ACE_NESTED_CLASS(TYPE, NAME) TYPE::NAME
#define | ACE_DEFAULT_CLOSE_ALL_HANDLES 1
#define | ACE_MAX_FULLY_QUALIFIED_NAME_LEN 256
#define | ACE_DEFAULT_TIMEOUT 5
#define | ACE_DEFAULT_BACKLOG 5
#define | ACE_DEFAULT_THREADS 1
#define | ACE_DEFAULT_BROADCAST_PORT 20000
#define | ACE_DEFAULT_MULTICAST_PORT 20001
#define | ACE_DEFAULT_MULTICAST_ADDR "224.9.9.2"
#define | ACE_DEFAULT_HTTP_SERVER_PORT 80
#define | ACE_DEFAULT_SERVER_PORT 20002
#define | ACE_DEFAULT_HTTP_PORT 80
#define | ACE_DEFAULT_MAX_SOCKET_BUFSIZ 65536
#define | ACE_DEFAULT_SERVER_PORT_STR "20002"
#define | ACE_DEFAULT_SERVICE_PORT 20003
#define | ACE_DEFAULT_THR_PORT 20004
#define | ACE_DEFAULT_LOCAL_PORT 20005
#define | ACE_DEFAULT_LOCAL_PORT_STR "20005"
#define | ACE_DEFAULT_NAME_SERVER_PORT 20006
#define | ACE_DEFAULT_NAME_SERVER_PORT_STR "20006"
#define | ACE_DEFAULT_TOKEN_SERVER_PORT 20007
#define | ACE_DEFAULT_TOKEN_SERVER_PORT_STR "20007"
#define | ACE_DEFAULT_LOGGING_SERVER_PORT 20008
#define | ACE_DEFAULT_LOGGING_SERVER_PORT_STR "20008"
#define | ACE_DEFAULT_THR_LOGGING_SERVER_PORT 20008
#define | ACE_DEFAULT_THR_LOGGING_SERVER_PORT_STR "20008"
#define | ACE_DEFAULT_TIME_SERVER_PORT 20009
#define | ACE_DEFAULT_TIME_SERVER_PORT_STR "20009"
#define | ACE_DEFAULT_TIME_SERVER_STR "ACE_TS_TIME"
#define | ACE_DEFAULT_RENDEZVOUS "localhost:20010"
#define | ACE_DEFAULT_SYSLOG_FACILITY LOG_USER
#define | ACE_DEFAULT_LOGGER_KEY ACE_LIB_TEXT ("localhost:20012")
#define | ACE_LOCALHOST ACE_LIB_TEXT ("localhost")
#define | ACE_DEFAULT_SERVER_HOST ACE_LOCALHOST
#define | ACE_DEFAULT_SHM_KEY 1234
#define | ACE_DEFAULT_SEGMENT_SIZE 1024 * 128
#define | ACE_DEFAULT_MAX_SEGMENTS 6
#define | ACE_NAME_SERVER_MAP "Name Server Map"
#define | ACE_DEFAULT_FILE_PERMS (FILE_SHARE_READ | FILE_SHARE_WRITE)
#define | ACE_DEFAULT_DIR_PERMS 0755
#define | ACE_FD_SETSIZE FD_SETSIZE
#define | ACE_DEFAULT_SELECT_REACTOR_SIZE ACE_FD_SETSIZE
#define | ACE_DEFAULT_TIMEPROBE_TABLE_SIZE 8 * 1024
#define | ACE_DEFAULT_MAP_SIZE 1024
#define | ACE_DEFAULT_TIMER_WHEEL_SIZE 1024
#define | ACE_DEFAULT_TIMER_WHEEL_RESOLUTION 100
#define | ACE_DEFAULT_TIMER_HASH_TABLE_SIZE 1024
#define | ACE_DEFAULT_FREE_LIST_PREALLOC 0
#define | ACE_DEFAULT_FREE_LIST_LWM 0
#define | ACE_DEFAULT_FREE_LIST_HWM 25000
#define | ACE_DEFAULT_FREE_LIST_INC 100
#define | ACE_UNIQUE_NAME_LEN 100
#define | ACE_MAX_DGRAM_SIZE 8192
#define | ACE_DEFAULT_ARGV_BUFSIZ 1024 * 4
#define | ACE_BEGIN_DUMP ACE_LIB_TEXT ("\n====\n(%P|%t|%x)")
#define | ACE_END_DUMP ACE_LIB_TEXT ("====\n")
#define | ACE_FREE_LIST_WITH_POOL 1
#define | ACE_PURE_FREE_LIST 2
#define | ACE_DB(X) X
#define | ACE_MAX_USERID 32
#define | ACE_NON_BLOCKING_BUG_DELAY 35000
#define | ACE_NO_HEAP_CHECK
#define | ACE_ITOA(X) #X
#define | ACE_SERVER_ADDRESS(H,P) H":"P
#define | ACE_POW(X) (((X) == 0)?1:(X-=1,X|=X>>1,X|=X>>2,X|=X>>4,X|=X>>8,X|=X>>16,(++X)))
#define | ACE_EVEN(NUM) (((NUM) & 1) == 0)
#define | ACE_ODD(NUM) (((NUM) & 1) == 1)
#define | ACE_BIT_ENABLED(WORD, BIT) (((WORD) & (BIT)) != 0)
#define | ACE_BIT_DISABLED(WORD, BIT) (((WORD) & (BIT)) == 0)
#define | ACE_BIT_CMP_MASK(WORD, BIT, MASK) (((WORD) & (BIT)) == MASK)
#define | ACE_SET_BITS(WORD, BITS) (WORD |= (BITS))
#define | ACE_CLR_BITS(WORD, BITS) (WORD &= ~(BITS))
#define | ACE_ENDLESS_LOOP
#define | ACE_UNIMPLEMENTED_FUNC(f) f;
#define | ACE_CLASS_IS_NAMESPACE(CLASSNAME)
#define | ACE_SPRINTF_ADAPTER(X) X
#define | ACE_DEFAULT_BASE_ADDR ((char *) (64 * 1024 * 1024))
#define | ACE_TIMER_SKEW 0
#define | ACE_TRACE(X) ACE_Trace ____ (ACE_LIB_TEXT (X), __LINE__, ACE_LIB_TEXT (__FILE__))
#define | ACE_OS_TRACE(X)
#define | CLOCK_REALTIME 0
#define | ACE_USING
#define | ACE_TYPENAME
#define | ACE_TEMPLATE_SPECIALIZATION
#define | ACE_TEMPLATE_METHOD_SPECIALIZATION
#define | ACE_SYNCH_DECL class _ACE_SYNCH_MUTEX_T, class _ACE_SYNCH_CONDITION_T
#define | ACE_SYNCH_USE _ACE_SYNCH_MUTEX_T, _ACE_SYNCH_CONDITION_T
#define | ACE_SYNCH_MUTEX_T _ACE_SYNCH_MUTEX_T
#define | ACE_SYNCH_CONDITION_T _ACE_SYNCH_CONDITION_T
#define | ACE_SYNCH_SEMAPHORE_T _ACE_SYNCH_SEMAPHORE_T
#define | ACE_MEM_POOL_1 class _ACE_MEM_POOL, class _ACE_MEM_POOL_OPTIONS
#define | ACE_MEM_POOL_2 _ACE_MEM_POOL, _ACE_MEM_POOL_OPTIONS
#define | ACE_MEM_POOL _ACE_MEM_POOL
#define | ACE_MEM_POOL_OPTIONS _ACE_MEM_POOL_OPTIONS
#define | ACE_PEER_STREAM_1 class _ACE_PEER_STREAM, class _ACE_PEER_ADDR
#define | ACE_PEER_STREAM_2 _ACE_PEER_STREAM, _ACE_PEER_ADDR
#define | ACE_PEER_STREAM _ACE_PEER_STREAM
#define | ACE_PEER_STREAM_ADDR _ACE_PEER_ADDR
#define | ACE_PEER_ACCEPTOR_1 class _ACE_PEER_ACCEPTOR, class _ACE_PEER_ADDR
#define | ACE_PEER_ACCEPTOR_2 _ACE_PEER_ACCEPTOR, _ACE_PEER_ADDR
#define | ACE_PEER_ACCEPTOR _ACE_PEER_ACCEPTOR
#define | ACE_PEER_ACCEPTOR_ADDR _ACE_PEER_ADDR
#define | ACE_PEER_CONNECTOR_1 class _ACE_PEER_CONNECTOR, class _ACE_PEER_ADDR
#define | ACE_PEER_CONNECTOR_2 _ACE_PEER_CONNECTOR, _ACE_PEER_ADDR
#define | ACE_PEER_CONNECTOR _ACE_PEER_CONNECTOR
#define | ACE_PEER_CONNECTOR_ADDR _ACE_PEER_ADDR
#define | ACE_PEER_CONNECTOR_ADDR_ANY ACE_PEER_CONNECTOR_ADDR::sap_any
#define | ACE_SOCK_ACCEPTOR ACE_SOCK_Acceptor, ACE_INET_Addr
#define | ACE_SOCK_CONNECTOR ACE_SOCK_Connector, ACE_INET_Addr
#define | ACE_SOCK_STREAM ACE_SOCK_Stream, ACE_INET_Addr
#define | ACE_MEM_ACCEPTOR ACE_MEM_Acceptor, ACE_MEM_Addr
#define | ACE_MEM_CONNECTOR ACE_MEM_Connector, ACE_INET_Addr
#define | ACE_MEM_STREAM ACE_MEM_Stream, ACE_INET_Addr
#define | ACE_LSOCK_ACCEPTOR ACE_LSOCK_Acceptor, ACE_UNIX_Addr
#define | ACE_LSOCK_CONNECTOR ACE_LSOCK_Connector, ACE_UNIX_Addr
#define | ACE_LSOCK_STREAM ACE_LSOCK_Stream, ACE_UNIX_Addr
#define | ACE_TLI_ACCEPTOR ACE_TLI_Acceptor, ACE_INET_Addr
#define | ACE_TLI_CONNECTOR ACE_TLI_Connector, ACE_INET_Addr
#define | ACE_TLI_STREAM ACE_TLI_Stream, ACE_INET_Addr
#define | ACE_SPIPE_ACCEPTOR ACE_SPIPE_Acceptor, ACE_SPIPE_Addr
#define | ACE_SPIPE_CONNECTOR ACE_SPIPE_Connector, ACE_SPIPE_Addr
#define | ACE_SPIPE_STREAM ACE_SPIPE_Stream, ACE_SPIPE_Addr
#define | ACE_UPIPE_ACCEPTOR ACE_UPIPE_Acceptor, ACE_SPIPE_Addr
#define | ACE_UPIPE_CONNECTOR ACE_UPIPE_Connector, ACE_SPIPE_Addr
#define | ACE_UPIPE_STREAM ACE_UPIPE_Stream, ACE_SPIPE_Addr
#define | ACE_FILE_CONNECTOR ACE_FILE_Connector, ACE_FILE_Addr
#define | ACE_FILE_STREAM ACE_FILE_IO, ACE_FILE_Addr
#define | ACE_MMAP_MEMORY_POOL ACE_MMAP_Memory_Pool, ACE_MMAP_Memory_Pool_Options
#define | ACE_LITE_MMAP_MEMORY_POOL ACE_Lite_MMAP_Memory_Pool, ACE_MMAP_Memory_Pool_Options
#define | ACE_SBRK_MEMORY_POOL ACE_Sbrk_Memory_Pool, ACE_Sbrk_Memory_Pool_Options
#define | ACE_SHARED_MEMORY_POOL ACE_Shared_Memory_Pool, ACE_Shared_Memory_Pool_Options
#define | ACE_LOCAL_MEMORY_POOL ACE_Local_Memory_Pool, ACE_Local_Memory_Pool_Options
#define | ACE_PAGEFILE_MEMORY_POOL ACE_Pagefile_Memory_Pool, ACE_Pagefile_Memory_Pool_Options
#define | ACE_SYNCH_1 ACE_SYNCH_DECL
#define | ACE_SYNCH_2 ACE_SYNCH_USE
#define | ACE_WSOCK_VERSION 0, 0
#define | ACE_TSS_TYPE(T) T
#define | ACE_TSS_GET(I, T) (I)
#define | ACE_MT(X)
#define | ACE_DEFAULT_THREAD_PRIORITY (-0x7fffffffL - 1L)
#define | ACE_GUARD(MUTEX,OBJ,LOCK)
#define | ACE_GUARD_RETURN(MUTEX,OBJ,LOCK,RETURN)
#define | ACE_WRITE_GUARD(MUTEX,OBJ,LOCK)
#define | ACE_WRITE_GUARD_RETURN(MUTEX,OBJ,LOCK,RETURN)
#define | ACE_READ_GUARD(MUTEX,OBJ,LOCK)
#define | ACE_READ_GUARD_RETURN(MUTEX,OBJ,LOCK,RETURN)
#define | ACE_THROW_SPEC(X) throw X
#define | ACE_SCOPE_PROCESS 0
#define | ACE_SCOPE_LWP 1
#define | ACE_SCOPE_THREAD 2
#define | ACE_SCHED_OTHER 0
#define | ACE_SCHED_FIFO 1
#define | ACE_SCHED_RR 2
#define | ACE_THR_PRI_FIFO_DEF 0
#define | ACE_THR_PRI_OTHER_DEF 0
#define | ACE_DONT_INCLUDE_ACE_SIGNAL_H
#define | IOV_MAX 16
#define | ACE_IOV_MAX IOV_MAX
#define | ACE_OSTREAM_TYPE ostream
#define | ACE_DEFAULT_LOG_STREAM (&cerr)
#define | ACE_ONE_SECOND_IN_MSECS 1000L
#define | ACE_ONE_SECOND_IN_USECS 1000000L
#define | ACE_ONE_SECOND_IN_NSECS 1000000000L
#define | ACE_STREAMBUF_SIZE 1024
#define | ACE_MAX_DEFAULT_PORT 65535
#define | ACE_PLATFORM_A "Win32"
#define | ACE_PLATFORM_EXE_SUFFIX_A ".exe"
#define | ACE_DEFAULT_SVC_CONF ACE_LIB_TEXT (".\\svc.conf")
#define | ACE_STDIN GetStdHandle (STD_INPUT_HANDLE)
#define | ACE_STDOUT GetStdHandle (STD_OUTPUT_HANDLE)
#define | ACE_STDERR GetStdHandle (STD_ERROR_HANDLE)
#define | ACE_DEFAULT_SEM_KEY "ACE_SEM_KEY"
#define | ACE_INVALID_SEM_KEY 0
#define | ACE_SEH_TRY if (1)
#define | ACE_SEH_EXCEPT(X) while (0)
#define | ACE_SEH_FINALLY if (1)
#define | ACE_DEV_NULL "nul"
#define | ACE_DIRECTORY_SEPARATOR_STR_A "\\"
#define | ACE_DIRECTORY_SEPARATOR_CHAR_A '\\'
#define | ACE_LD_SEARCH_PATH ACE_LIB_TEXT ("PATH")
#define | ACE_LD_SEARCH_PATH_SEPARATOR_STR ACE_LIB_TEXT (";")
#define | ACE_DLL_SUFFIX ACE_LIB_TEXT (".dll")
#define | ACE_DLL_PREFIX ACE_LIB_TEXT ("")
#define | NFDBITS 32
#define | MAP_PRIVATE 1
#define | MAP_SHARED 2
#define | MAP_FIXED 4
#define | RUSAGE_SELF 1
#define | PROT_READ PAGE_READONLY
#define | PROT_WRITE PAGE_READWRITE
#define | PROT_RDWR PAGE_READWRITE
#define | ETIME ERROR_SEM_TIMEOUT
#define | EWOULDBLOCK WSAEWOULDBLOCK
#define | EINPROGRESS WSAEINPROGRESS
#define | EALREADY WSAEALREADY
#define | ENOTSOCK WSAENOTSOCK
#define | EDESTADDRREQ WSAEDESTADDRREQ
#define | EMSGSIZE WSAEMSGSIZE
#define | EPROTOTYPE WSAEPROTOTYPE
#define | ENOPROTOOPT WSAENOPROTOOPT
#define | EPROTONOSUPPORT WSAEPROTONOSUPPORT
#define | ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT
#define | EOPNOTSUPP WSAEOPNOTSUPP
#define | EPFNOSUPPORT WSAEPFNOSUPPORT
#define | EAFNOSUPPORT WSAEAFNOSUPPORT
#define | EADDRINUSE WSAEADDRINUSE
#define | EADDRNOTAVAIL WSAEADDRNOTAVAIL
#define | ENETDOWN WSAENETDOWN
#define | ENETUNREACH WSAENETUNREACH
#define | ENETRESET WSAENETRESET
#define | ECONNABORTED WSAECONNABORTED
#define | ECONNRESET WSAECONNRESET
#define | ENOBUFS WSAENOBUFS
#define | EISCONN WSAEISCONN
#define | ENOTCONN WSAENOTCONN
#define | ESHUTDOWN WSAESHUTDOWN
#define | ETOOMANYREFS WSAETOOMANYREFS
#define | ETIMEDOUT WSAETIMEDOUT
#define | ECONNREFUSED WSAECONNREFUSED
#define | ELOOP WSAELOOP
#define | EHOSTDOWN WSAEHOSTDOWN
#define | EHOSTUNREACH WSAEHOSTUNREACH
#define | EPROCLIM WSAEPROCLIM
#define | EUSERS WSAEUSERS
#define | EDQUOT WSAEDQUOT
#define | ESTALE WSAESTALE
#define | EREMOTE WSAEREMOTE
#define | ACE_INVALID_PID ((pid_t) -1)
#define | ACE_SYSCALL_FAILED 0xFFFFFFFF
#define | MS_ASYNC 0
#define | MS_INVALIDATE 0
#define | O_NDELAY 1
#define | MAXPATHLEN _MAX_PATH
#define | MAXNAMLEN _MAX_FNAME
#define | EADDRINUSE WSAEADDRINUSE
#define | ACE_SELF (0)
#define | ACE_SHLIB_INVALID_HANDLE 0
#define | ACE_DEFAULT_SHLIB_MODE 0
#define | ACE_DIRECTORY_SEPARATOR_STR_W ACE_TEXT_WIDE(ACE_DIRECTORY_SEPARATOR_STR_A)
#define | ACE_DIRECTORY_SEPARATOR_CHAR_W ACE_TEXT_WIDE(ACE_DIRECTORY_SEPARATOR_CHAR_A)
#define | ACE_PLATFORM_W ACE_TEXT_WIDE(ACE_PLATFORM_A)
#define | ACE_PLATFORM_EXE_SUFFIX_W ACE_TEXT_WIDE(ACE_PLATFORM_EXE_SUFFIX_A)
#define | ACE_DIRECTORY_SEPARATOR_STR ACE_LIB_TEXT (ACE_DIRECTORY_SEPARATOR_STR_A)
#define | ACE_DIRECTORY_SEPARATOR_CHAR ACE_LIB_TEXT (ACE_DIRECTORY_SEPARATOR_CHAR_A)
#define | ACE_PLATFORM ACE_LIB_TEXT (ACE_PLATFORM_A)
#define | ACE_PLATFORM_EXE_SUFFIX ACE_LIB_TEXT (ACE_PLATFORM_EXE_SUFFIX_A)
#define | ACE_DEFAULT_LOCALNAME_A "localnames"
#define | ACE_DEFAULT_GLOBALNAME_A "globalnames"
#define | ACE_DEFAULT_LOCALNAME_W ACE_TEXT_WIDE(ACE_DEFAULT_LOCALNAME_A)
#define | ACE_DEFAULT_GLOBALNAME_W ACE_TEXT_WIDE(ACE_DEFAULT_GLOBALNAME_A)
#define | ACE_DEFAULT_LOCALNAME ACE_LIB_TEXT (ACE_DEFAULT_LOCALNAME_A)
#define | ACE_DEFAULT_GLOBALNAME ACE_LIB_TEXT (ACE_DEFAULT_GLOBALNAME_A)
#define | O_BINARY 0
#define | _O_BINARY O_BINARY
#define | O_TEXT 0
#define | _O_TEXT O_TEXT
#define | O_RAW 0
#define | _O_RAW O_RAW
#define | ACE_DEFAULT_SYNCH_TYPE USYNC_THREAD
#define | ACE_MAP_PRIVATE MAP_PRIVATE
#define | ACE_MAP_SHARED MAP_SHARED
#define | ACE_MAP_FIXED MAP_FIXED
#define | AF_ANY (-1)
#define | AF_SPIPE (AF_MAX + 1)
#define | AF_FILE (AF_MAX + 2)
#define | AF_DEV (AF_MAX + 3)
#define | AF_UPIPE (AF_SPIPE)
#define | MAXNAMELEN 256
#define | MAXHOSTNAMELEN 256
#define | INADDR_LOOPBACK 0x7f000001
#define | INET_ADDRSTRLEN 16
#define | INET6_ADDRSTRLEN 46
#define | SIGHUP 0
#define | SIGINT 0
#define | SIGSEGV 0
#define | SIGIO 0
#define | SIGUSR1 0
#define | SIGUSR2 0
#define | SIGCHLD 0
#define | SIGCLD SIGCHLD
#define | SIGQUIT 0
#define | SIGPIPE 0
#define | SIGALRM 0
#define | SIG_DFL ((__sighandler_t) 0)
#define | SIG_IGN ((__sighandler_t) 1)
#define | SIG_ERR ((__sighandler_t) -1)
#define | O_NONBLOCK 1
#define | SIG_BLOCK 1
#define | SIG_UNBLOCK 2
#define | SIG_SETMASK 3
#define | IPC_CREAT 0
#define | IPC_NOWAIT 0
#define | IPC_RMID 0
#define | IPC_EXCL 0
#define | IP_DROP_MEMBERSHIP 0
#define | IP_ADD_MEMBERSHIP 0
#define | ACE_LACKS_IP_ADD_MEMBERSHIP
#define | IP_DEFAULT_MULTICAST_TTL 0
#define | IP_DEFAULT_MULTICAST_LOOP 0
#define | IP_MULTICAST_IF 0
#define | IP_MULTICAST_TTL 1
#define | IP_MAX_MEMBERSHIPS 0
#define | SIOCGIFBRDADDR 0
#define | SIOCGIFADDR 0
#define | IPC_PRIVATE ACE_INVALID_SEM_KEY
#define | IPC_STAT 0
#define | GETVAL 0
#define | F_GETFL 0
#define | SETVAL 0
#define | GETALL 0
#define | SETALL 0
#define | SEM_UNDO 0
#define | ACE_NSIG NSIG
#define | R_OK 04
#define | W_OK 02
#define | X_OK 01
#define | F_OK 0
#define | ESUCCESS 0
#define | EIDRM 0
#define | ENFILE EMFILE
#define | ECOMM ECONNABORTED
#define | WNOHANG 0100
#define | EDEADLK 1000
#define | MS_SYNC 0x0
#define | PIPE_BUF 5120
#define | ACE_NONBLOCK O_NDELAY
#define | ACE_SIGIO -1
#define | ACE_SIGURG -2
#define | ACE_CLOEXEC -3
#define | LOCALNAME 0
#define | REMOTENAME 1
#define | EBUSY ETIME
#define | _SC_TIMER_MAX 44
#define | ACE_DEFAULT_TIMERS _SC_TIMER_MAX
#define | ACE_HOSTENT_DATA_SIZE (4*1024)
#define | ACE_SERVENT_DATA_SIZE (4*1024)
#define | ACE_PROTOENT_DATA_SIZE (2*1024)
#define | ACE_MAXLOGMSGLEN 4 * 1024
#define | ACE_MAXTOKENNAMELEN 40
#define | ACE_MAXCLIENTIDLEN MAXHOSTNAMELEN + 20
#define | MAP_FAILED ((void *) -1)
#define | SA_SIGINFO 0
#define | SA_RESTART 0
#define | ACE_MSB_MASK (~(1 << (NFDBITS - 1)))
#define | ACE_IPPROTO_TCP IPPROTO_TCP
#define | ACE_OVERLAPPED_SOCKET_FLAG 0
#define | ACE_XP1_QOS_SUPPORTED 0x00002000
#define | ACE_XP1_SUPPORT_MULTIPOINT 0x00000400
#define | ACE_BASEERR 10000
#define | ACE_ENOBUFS (ACE_BASEERR+55)
#define | ACE_FROM_PROTOCOL_INFO (-1)
#define | ACE_FLAG_MULTIPOINT_C_ROOT 0x02
#define | ACE_FLAG_MULTIPOINT_C_LEAF 0x04
#define | ACE_FLAG_MULTIPOINT_D_ROOT 0x08
#define | ACE_FLAG_MULTIPOINT_D_LEAF 0x10
#define | ACE_QOS_NOT_SPECIFIED 0xFFFFFFFF
#define | ACE_SERVICETYPE_NOTRAFFIC 0x00000000
#define | ACE_SERVICETYPE_CONTROLLEDLOAD 0x00000001
#define | ACE_SERVICETYPE_GUARANTEED 0x00000003
#define | ACE_JL_SENDER_ONLY 0x01
#define | ACE_JL_BOTH 0x04
#define | ACE_SIO_GET_QOS (0x40000000 | 0x08000000 | 7)
#define | ACE_SIO_MULTIPOINT_LOOPBACK (0x08000000 | 9)
#define | ACE_SIO_MULTICAST_SCOPE (0x08000000 | 10)
#define | ACE_SIO_SET_QOS (0x08000000 | 11)
#define | ACE_SHUTDOWN_READ 0
| Helper for the ACE_OS::cuserid() function. More...
#define | ACE_SHUTDOWN_WRITE 1
#define | ACE_SHUTDOWN_BOTH 2
#define | ACE_KEY_INDEX(OBJ,KEY) u_int OBJ = KEY
#define | ACE_ALLOCATOR_RETURN(POINTER,ALLOCATOR,RET_VAL)
#define | ACE_ALLOCATOR(POINTER,ALLOCATOR)
#define | ACE_NEW_MALLOC_RETURN(POINTER,ALLOCATOR,CONSTRUCTOR,RET_VAL)
#define | ACE_NEW_MALLOC(POINTER,ALLOCATOR,CONSTRUCTOR)
#define | ACE_NOOP(x)
#define | ACE_DES_NOFREE(POINTER,CLASS)
#define | ACE_DES_ARRAY_NOFREE(POINTER,SIZE,CLASS)
#define | ACE_DES_FREE(POINTER,DEALLOCATOR,CLASS)
#define | ACE_DES_ARRAY_FREE(POINTER,SIZE,DEALLOCATOR,CLASS)
#define | ACE_DES_NOFREE_TEMPLATE(POINTER,T_CLASS,T_PARAMETER)
#define | ACE_DES_ARRAY_NOFREE_TEMPLATE(POINTER,SIZE,T_CLASS,T_PARAMETER)
#define | ACE_DES_FREE_TEMPLATE(POINTER,DEALLOCATOR,T_CLASS,T_PARAMETER)
#define | ACE_DES_ARRAY_FREE_TEMPLATE(POINTER,SIZE,DEALLOCATOR,T_CLASS,T_PARAMETER)
#define | ACE_DES_FREE_TEMPLATE2(POINTER,DEALLOCATOR,T_CLASS,T_PARAM1,T_PARAM2)
#define | ACE_DES_FREE_TEMPLATE3(POINTER,DEALLOCATOR,T_CLASS,T_PARAM1,T_PARAM2,T_PARAM3)
#define | ACE_DES_FREE_TEMPLATE4(POINTER,DEALLOCATOR,T_CLASS,T_PARAM1,T_PARAM2,T_PARAM3,T_PARAM4)
#define | ACE_DES_ARRAY_FREE_TEMPLATE2(POINTER,SIZE,DEALLOCATOR,T_CLASS,T_PARAM1,T_PARAM2)
#define | ACE_PTHREAD_CLEANUP_PUSH(A)
#define | ACE_PTHREAD_CLEANUP_POP(A)
#define | ACE_DEFAULT_MUTEX_A "ACE_MUTEX"
#define | ACE_DEFAULT_MUTEX_W ACE_TEXT_WIDE(ACE_DEFAULT_MUTEX_A)
#define | ACE_DEFAULT_MUTEX ACE_LIB_TEXT (ACE_DEFAULT_MUTEX_A)
#define | ACE_MAIN main
#define | ACE_INFINITE INFINITE
#define | ACE_STATUS_TIMEOUT STATUS_TIMEOUT
#define | ACE_WAIT_FAILED WAIT_FAILED
#define | ACE_WAIT_TIMEOUT WAIT_TIMEOUT
#define | ACE_SWAP_LONG(L)
#define | ACE_SWAP_WORD(L) ((((L) & 0x00FF) << 8) | (((L) & 0xFF00) >> 8))
#define | ACE_HTONL(X) X
#define | ACE_NTOHL(X) X
#define | ACE_IDL_NCTOHL(X) (X << 24)
#define | ACE_IDL_NSTOHL(X) ((X) << 16)
#define | ACE_HTONS(x) x
#define | ACE_NTOHS(x) x
#define | ACE_RTSIG_MAX 8
#define | WIFEXITED(stat) 1
#define | WEXITSTATUS(stat) stat
#define | WIFSIGNALED(stat) 0
#define | WTERMSIG(stat) 0
#define | WIFSTOPPED(stat) 0
#define | WSTOPSIG(stat) 0
#define | WIFCONTINUED(stat) 0
#define | WCOREDUMP(stat) 0
#define | ACE_CDR_BYTE_ORDER 0
#define | ACE_DEFAULT_CDR_BUFSIZE 512
#define | ACE_DEFAULT_CDR_EXP_GROWTH_MAX 65536
#define | ACE_DEFAULT_CDR_LINEAR_GROWTH_CHUNK 65536
#define | ACE_DEFAULT_CDR_MEMCPY_TRADEOFF 256
#define | ACE_align_binary(ptr, alignment)
#define | ACE_ptr_align_binary(ptr, alignment)
#define | ACE_SIGRTMIN SIGRTMIN
#define | ACE_SIGRTMAX SIGRTMAX
## Typedefs
typedef struct timespec | timespec_t
typedef int | clockid_t
typedef void (* | ACE_Service_Object_Exterminator )(void *)
| Service Objects, i.e., objects dynamically loaded via the service configurator, must provide a destructor function with the following prototype to perform object cleanup.
typedef const struct iovec | ACE_WRITEV_TYPE
typedef struct iovec | ACE_READV_TYPE
typedef const struct rlimit | ACE_SETRLIMIT_TYPE
typedef const struct msghdr | ACE_SENDMSG_TYPE
typedef u_int | ACE_RANDR_TYPE
typedef int | sig_atomic_t
typedef int | ssize_t
typedef OVERLAPPED | ACE_OVERLAPPED
typedef DWORD | ACE_thread_t
typedef long | pid_t
typedef HANDLE | ACE_hthread_t
typedef DWORD | ACE_thread_key_t
typedef unsigned __int64 | ACE_QWORD
typedef unsigned __int64 | ACE_hrtime_t
typedef DWORD | nlink_t
typedef u_short | mode_t
typedef long | uid_t
typedef long | gid_t
typedef char* | caddr_t
typedef DWORD | ACE_exitcode
typedef int | ACE_idtype_t
typedef DWORD | ACE_id_t
typedef int | ACE_pri_t
typedef HINSTANCE | ACE_SHLIB_HANDLE
typedef struct utsname | ACE_utsname
typedef fd_set | ACE_FD_SET_TYPE
typedef char | ACE_HOSTENT_DATA [ACE_HOSTENT_DATA_SIZE]
typedef char | ACE_SERVENT_DATA [ACE_SERVENT_DATA_SIZE]
typedef char | ACE_PROTOENT_DATA [ACE_PROTOENT_DATA_SIZE]
typedef const char** | SYS_SIGLIST
typedef ACE_THR_FUNC | ACE_THR_FUNC_INTERNAL
typedef void (* | ACE_THR_C_DEST )(void *)
typedef void (* | ACE_THR_DEST )(void *)
typedef const ACE_TCHAR* | ACE_DL_TYPE
typedef void (* | ACE_SIGNAL_C_FUNC )(int,siginfo_t*,void*)
typedef int | ucontext_t
typedef void (* | ACE_Sig_Handler_Ex )(int, siginfo_t *siginfo, ucontext_t *ucontext)
typedef int | ACE_Sched_Priority
typedef void (* | ACE_CLEANUP_FUNC )(void *object, void *param)
typedef double | ACE_timer_t
typedef int | ACE_Rusage
typedef struct _stat | ACE_stat
typedef int (* | ACE_COMPARE_FUNC )(const void *, const void *)
typedef u_long | ACE_SERVICE_TYPE
typedef u_long | ACE_SOCK_GROUP
typedef int (* | ACE_QOS_CONDITION_FUNC )(iovec *caller_id, iovec *caller_data, ACE_QoS *socket_qos, ACE_QoS *group_socket_qos, iovec *callee_id, iovec *callee_data, ACE_SOCK_GROUP *g, u_long callbackdata)
typedef void (* | ACE_OVERLAPPED_COMPLETION_FUNC )(u_long error, u_long bytes_transferred, ACE_OVERLAPPED *overlapped, u_long flags)
typedef TRANSMIT_FILE_BUFFERS | ACE_TRANSMIT_FILE_BUFFERS
typedef LPTRANSMIT_FILE_BUFFERS | ACE_LPTRANSMIT_FILE_BUFFERS
typedef PTRANSMIT_FILE_BUFFERS | ACE_PTRANSMIT_FILE_BUFFERS
## Enumerations
enum | ACE_Recyclable_State { ACE_RECYCLABLE_IDLE_AND_PURGABLE, ACE_RECYCLABLE_IDLE_BUT_NOT_PURGABLE, ACE_RECYCLABLE_PURGABLE_BUT_NOT_IDLE, ACE_RECYCLABLE_BUSY, ACE_RECYCLABLE_CLOSED, ACE_RECYCLABLE_UNKNOWN }
| States of a recyclable object. More...
## Functions
ACE_OS_Export ACE_Time_Value | operator+ (const ACE_Time_Value &tv1, const ACE_Time_Value &tv2)
ACE_OS_Export ACE_Time_Value | operator- (const ACE_Time_Value &tv1, const ACE_Time_Value &tv2)
typedef | void (__cdecl *ACE_SignalHandler)(int)
ACE_QWORD | ACE_MAKE_QWORD (DWORD lo, DWORD hi)
DWORD | ACE_LOW_DWORD (ACE_QWORD q)
DWORD | ACE_HIGH_DWORD (ACE_QWORD q)
int | ACE_SEH_Default_Exception_Selector (void *)
int | ACE_SEH_Default_Exception_Handler (void *)
long | ace_timezone ()
| Helper for the ACE_OS::timezone() function. More...
double | ace_difftime (time_t t1, time_t t0)
| Helper for the ACE_OS::difftime() function. More...
## Variables
const ACE_UINT32 | ACE_U_ONE_SECOND_IN_MSECS = 1000U
const ACE_UINT32 | ACE_U_ONE_SECOND_IN_USECS = 1000000U
const ACE_UINT32 | ACE_U_ONE_SECOND_IN_NSECS = 1000000000U

## Detailed Description

OS.h,v 4.1100 2001/09/19 23:36:08 irfan Exp

Author(s):
  Douglas C. Schmidt <schmidt@cs.wustl.edu> , Jesper S. M|ller<stophph@diku.dk> , and a cast of thousands...

## Define Documentation

#define ACE_ALLOCATOR( | POINTER, ALLOCATOR )

| Initializer:
    \
       do { POINTER = ALLOCATOR; \
         if (POINTER == 0) { errno = ENOMEM; return; } \
       } while (0)

#define ACE_ALLOCATOR_RETURN( | POINTER, ALLOCATOR, RET_VAL )

| Initializer:
    \
       do { POINTER = ALLOCATOR; \
         if (POINTER == 0) { errno = ENOMEM; return RET_VAL; } \
       } while (0)

#define ACE_ASCII_SIZE 128

#define ACE_BASEERR 10000

#define ACE_BEGIN_DUMP ACE_LIB_TEXT ("\n====\n(%P|%t|%x)")

#define ACE_BIT_CMP_MASK( | WORD, BIT, MASK ) (((WORD) & (BIT)) == MASK)

#define ACE_BIT_DISABLED( | WORD, BIT ) (((WORD) & (BIT)) == 0)

#define ACE_BIT_ENABLED( | WORD, BIT ) (((WORD) & (BIT)) != 0)

#define ACE_CDR_BYTE_ORDER 0

#define ACE_CLASS_IS_NAMESPACE( | CLASSNAME )

| Initializer:
    \
    private: \
    CLASSNAME (void); \
    CLASSNAME (const CLASSNAME&); \
    friend class ace_dewarn_gplusplus

#define ACE_CLOEXEC -3

#define ACE_CLR_BITS( | WORD, BITS ) (WORD &= ~(BITS))

#define ACE_CORBA_1( | NAME ) CORBA::NAME

#define ACE_CORBA_2( | TYPE, NAME ) CORBA::TYPE::NAME

#define ACE_CORBA_3( | TYPE, NAME ) CORBA::TYPE::NAME

#define ACE_DB( | X ) X

#define ACE_DEFAULT_ARGV_BUFSIZ 1024 * 4

#define ACE_DEFAULT_BACKLOG 5

#define ACE_DEFAULT_BASE_ADDR ((char *) (64 * 1024 * 1024))

#define ACE_DEFAULT_BROADCAST_PORT 20000

#define ACE_DEFAULT_CDR_BUFSIZE 512

#define ACE_DEFAULT_CDR_EXP_GROWTH_MAX 65536

#define ACE_DEFAULT_CDR_LINEAR_GROWTH_CHUNK 65536

#define ACE_DEFAULT_CDR_MEMCPY_TRADEOFF 256

#define ACE_DEFAULT_CLOSE_ALL_HANDLES 1

#define ACE_DEFAULT_DIR_PERMS 0755

#define ACE_DEFAULT_FILE_PERMS (FILE_SHARE_READ | FILE_SHARE_WRITE)

#define ACE_DEFAULT_FREE_LIST_HWM 25000

#define ACE_DEFAULT_FREE_LIST_INC 100

#define ACE_DEFAULT_FREE_LIST_LWM 0

#define ACE_DEFAULT_FREE_LIST_PREALLOC 0

#define ACE_DEFAULT_GLOBALNAME ACE_LIB_TEXT (ACE_DEFAULT_GLOBALNAME_A)

#define ACE_DEFAULT_GLOBALNAME_A "globalnames"

#define ACE_DEFAULT_GLOBALNAME_W ACE_TEXT_WIDE(ACE_DEFAULT_GLOBALNAME_A)

#define ACE_DEFAULT_HTTP_PORT 80

#define ACE_DEFAULT_HTTP_SERVER_PORT 80

#define ACE_DEFAULT_LOCALNAME ACE_LIB_TEXT (ACE_DEFAULT_LOCALNAME_A)

#define ACE_DEFAULT_LOCALNAME_A "localnames"

#define ACE_DEFAULT_LOCALNAME_W ACE_TEXT_WIDE(ACE_DEFAULT_LOCALNAME_A)

#define ACE_DEFAULT_LOCAL_PORT 20005

#define ACE_DEFAULT_LOCAL_PORT_STR "20005"

#define ACE_DEFAULT_LOGGER_KEY ACE_LIB_TEXT ("localhost:20012")

#define ACE_DEFAULT_LOGGING_SERVER_PORT 20008

#define ACE_DEFAULT_LOGGING_SERVER_PORT_STR "20008"

#define ACE_DEFAULT_LOG_STREAM (&cerr)

#define ACE_DEFAULT_MAP_SIZE 1024

#define ACE_DEFAULT_MAX_SEGMENTS 6

#define ACE_DEFAULT_MAX_SOCKET_BUFSIZ 65536

#define ACE_DEFAULT_MESSAGE_BLOCK_PRIORITY 0

#define ACE_DEFAULT_MULTICAST_ADDR "224.9.9.2"

#define ACE_DEFAULT_MULTICAST_PORT 20001

#define ACE_DEFAULT_MUTEX ACE_LIB_TEXT (ACE_DEFAULT_MUTEX_A)

#define ACE_DEFAULT_MUTEX_A "ACE_MUTEX"

#define ACE_DEFAULT_MUTEX_W ACE_TEXT_WIDE(ACE_DEFAULT_MUTEX_A)

#define ACE_DEFAULT_NAME_SERVER_PORT 20006

#define ACE_DEFAULT_NAME_SERVER_PORT_STR "20006"

#define ACE_DEFAULT_OPEN_PERMS (FILE_SHARE_READ | FILE_SHARE_WRITE)

#define ACE_DEFAULT_PAGEFILE_POOL_BASE (void *) 0

#define ACE_DEFAULT_PAGEFILE_POOL_CHUNK (size_t) 0x00010000

#define ACE_DEFAULT_PAGEFILE_POOL_NAME ACE_LIB_TEXT ("Default_ACE_Pagefile_Memory_Pool")

#define ACE_DEFAULT_PAGEFILE_POOL_SIZE (size_t) 0x01000000

#define ACE_DEFAULT_RENDEZVOUS "localhost:20010"

#define ACE_DEFAULT_SEGMENT_SIZE 1024 * 128

#define ACE_DEFAULT_SELECT_REACTOR_SIZE ACE_FD_SETSIZE

#define ACE_DEFAULT_SEM_KEY "ACE_SEM_KEY"

#define ACE_DEFAULT_SERVER_HOST ACE_LOCALHOST

#define ACE_DEFAULT_SERVER_PORT 20002

#define ACE_DEFAULT_SERVER_PORT_STR "20002"

#define ACE_DEFAULT_SERVICE_PORT 20003

#define ACE_DEFAULT_SERVICE_REPOSITORY_SIZE 1024

#define ACE_DEFAULT_SHLIB_MODE 0

#define ACE_DEFAULT_SHM_KEY 1234

#define ACE_DEFAULT_SVC_CONF ACE_LIB_TEXT (".\\svc.conf")

#define ACE_DEFAULT_SYNCH_TYPE USYNC_THREAD

#define ACE_DEFAULT_SYSLOG_FACILITY LOG_USER

#define ACE_DEFAULT_THREADS 1

#define ACE_DEFAULT_THREAD_PRIORITY (-0x7fffffffL - 1L)

#define ACE_DEFAULT_THR_LOGGING_SERVER_PORT 20008

#define ACE_DEFAULT_THR_LOGGING_SERVER_PORT_STR "20008"

#define ACE_DEFAULT_THR_PORT 20004

#define ACE_DEFAULT_TIMEOUT 5

#define ACE_DEFAULT_TIMEPROBE_TABLE_SIZE 8 * 1024

#define ACE_DEFAULT_TIMERS _SC_TIMER_MAX

#define ACE_DEFAULT_TIMER_HASH_TABLE_SIZE 1024

#define ACE_DEFAULT_TIMER_WHEEL_RESOLUTION 100

#define ACE_DEFAULT_TIMER_WHEEL_SIZE 1024

#define ACE_DEFAULT_TIME_SERVER_PORT 20009

#define ACE_DEFAULT_TIME_SERVER_PORT_STR "20009"

#define ACE_DEFAULT_TIME_SERVER_STR "ACE_TS_TIME"

#define ACE_DEFAULT_TOKEN_SERVER_PORT 20007

#define ACE_DEFAULT_TOKEN_SERVER_PORT_STR "20007"

#define ACE_DES_ARRAY_FREE( | POINTER, SIZE, DEALLOCATOR, CLASS )

| Initializer:
    \
       do { \
            if (POINTER) \
              { \
                for (size_t i = 0; \
                     i < SIZE; \
                     ++i) \
                { \
                  (&(POINTER)[i])->~CLASS (); \
                } \
                DEALLOCATOR (POINTER); \
              } \
          } \
       while (0)

#define ACE_DES_ARRAY_FREE_TEMPLATE( | POINTER, SIZE, DEALLOCATOR, T_CLASS, T_PARAMETER )

| Initializer:
    \
           do { \
                if (POINTER) \
                  { \
                    for (size_t i = 0; \
                         i < SIZE; \
                         ++i) \
                    { \
                      POINTER[i].T_CLASS T_PARAMETER::~T_CLASS (); \
                    } \
                    DEALLOCATOR (POINTER); \
                  } \
              } \
           while (0)

#define ACE_DES_ARRAY_FREE_TEMPLATE2( | POINTER, SIZE, DEALLOCATOR, T_CLASS, T_PARAM1, T_PARAM2 )

| Initializer:
    \
           do { \
                if (POINTER) \
                  { \
                    for (size_t i = 0; \
                         i < SIZE; \
                         ++i) \
                    { \
                      POINTER[i].T_CLASS <T_PARAM1, T_PARAM2>::~T_CLASS (); \
                    } \
                    DEALLOCATOR (POINTER); \
                  } \
              } \
           while (0)

#define ACE_DES_ARRAY_NOFREE( | POINTER, SIZE, CLASS )

| Initializer:
    \
       do { \
            if (POINTER) \
              { \
                for (size_t i = 0; \
                     i < SIZE; \
                     ++i) \
                { \
                  (&(POINTER)[i])->~CLASS (); \
                } \
              } \
          } \
       while (0)

#define ACE_DES_ARRAY_NOFREE_TEMPLATE( | POINTER, SIZE, T_CLASS, T_PARAMETER )

| Initializer:
    \
         do { \
              if (POINTER) \
                { \
                  for (size_t i = 0; \
                       i < SIZE; \
                       ++i) \
                  { \
                    (POINTER)[i].T_CLASS T_PARAMETER::~T_CLASS (); \
                  } \
                } \
            } \
         while (0)

#define ACE_DES_FREE( | POINTER, DEALLOCATOR, CLASS )

| Initializer:
    \
       do { \
            if (POINTER) \
              { \
                (POINTER)->~CLASS (); \
                DEALLOCATOR (POINTER); \
              } \
          } \
       while (0)

#define ACE_DES_FREE_TEMPLATE( | POINTER, DEALLOCATOR, T_CLASS, T_PARAMETER )

| Initializer:
    \
           do { \
                if (POINTER) \
                  { \
                    POINTER->T_CLASS T_PARAMETER::~T_CLASS (); \
                    DEALLOCATOR (POINTER); \
                  } \
              } \
           while (0)

#define ACE_DES_FREE_TEMPLATE2( | POINTER, DEALLOCATOR, T_CLASS, T_PARAM1, T_PARAM2 )

| Initializer:
    \
           do { \
                if (POINTER) \
                  { \
                    POINTER->T_CLASS <T_PARAM1, T_PARAM2>::~T_CLASS (); \
                    DEALLOCATOR (POINTER); \
                  } \
              } \
           while (0)

#define ACE_DES_FREE_TEMPLATE3( | POINTER, DEALLOCATOR, T_CLASS, T_PARAM1, T_PARAM2, T_PARAM3 )

| Initializer:
    \
           do { \
                if (POINTER) \
                  { \
                    POINTER->T_CLASS <T_PARAM1, T_PARAM2, T_PARAM3>::~T_CLASS (); \
                    DEALLOCATOR (POINTER); \
                  } \
              } \
           while (0)

#define ACE_DES_FREE_TEMPLATE4( | POINTER, DEALLOCATOR, T_CLASS, T_PARAM1, T_PARAM2, T_PARAM3, T_PARAM4 )

| Initializer:
    \
           do { \
                if (POINTER) \
                  { \
                    POINTER->T_CLASS <T_PARAM1, T_PARAM2, T_PARAM3, T_PARAM4>::~T_CLASS (); \
                    DEALLOCATOR (POINTER); \
                  } \
              } \
           while (0)

#define ACE_DES_NOFREE( | POINTER, CLASS )

| Initializer:
    \
       do { \
            if (POINTER) \
              { \
                (POINTER)->~CLASS (); \
              } \
          } \
       while (0)

#define ACE_DES_NOFREE_TEMPLATE( | POINTER, T_CLASS, T_PARAMETER )

| Initializer:
    \
         do { \
              if (POINTER) \
                { \
                  (POINTER)->T_CLASS T_PARAMETER::~T_CLASS (); \
                } \
            } \
         while (0)

#define ACE_DEV_NULL "nul"

#define ACE_DIRECTORY_SEPARATOR_CHAR ACE_LIB_TEXT (ACE_DIRECTORY_SEPARATOR_CHAR_A)

#define ACE_DIRECTORY_SEPARATOR_CHAR_A '\\'

#define ACE_DIRECTORY_SEPARATOR_CHAR_W ACE_TEXT_WIDE(ACE_DIRECTORY_SEPARATOR_CHAR_A)

#define ACE_DIRECTORY_SEPARATOR_STR ACE_LIB_TEXT (ACE_DIRECTORY_SEPARATOR_STR_A)

#define ACE_DIRECTORY_SEPARATOR_STR_A "\\"

#define ACE_DIRECTORY_SEPARATOR_STR_W ACE_TEXT_WIDE(ACE_DIRECTORY_SEPARATOR_STR_A)

#define ACE_DLL_PREFIX ACE_LIB_TEXT ("")

#define ACE_DLL_SUFFIX ACE_LIB_TEXT (".dll")

#define ACE_DONT_INCLUDE_ACE_SIGNAL_H

#define ACE_EBCDIC_SIZE 256

#define ACE_ENDLESS_LOOP

#define ACE_END_DUMP ACE_LIB_TEXT ("====\n")

#define ACE_ENOBUFS (ACE_BASEERR+55)

#define ACE_EVEN( | NUM ) (((NUM) & 1) == 0)

#define ACE_FACTORY_DECLARE( | CLS, SERVICE_CLASS )

| Initializer:
    \
    extern "C" CLS##_Export ACE_Service_Object *\
    _make_##SERVICE_CLASS (ACE_Service_Object_Exterminator *);
  Declare the factory method used to create dynamically loadable services. Once the service implementation is dynamically loaded the Service Configurator uses a factory method to create the object. This macro declares such a factory function with the proper interface and export macros. Normally used in the header file that declares the service implementation. Parameters:
  CLS | must match the prefix of the export macro used for this service.
  SERVICE_CLASS | must match the name of the class that implements the service.

#define ACE_FACTORY_DEFINE( | CLS, SERVICE_CLASS )

| Initializer:
    \
    extern "C" void _gobble_##SERVICE_CLASS (void *p) { \
      ACE_Service_Object *_p = ACE_reinterpret_cast (ACE_Service_Object *, p); \
      ACE_ASSERT (_p != 0); \
      delete _p; } \
    extern "C" ACE_Service_Object *\
    _make_##SERVICE_CLASS (ACE_Service_Object_Exterminator *gobbler) \
    { \
      ACE_TRACE (#SERVICE_CLASS); \
      if (gobbler != 0) \
        *gobbler = (ACE_Service_Object_Exterminator) _gobble_##SERVICE_CLASS; \
      return new SERVICE_CLASS; \
    }
Define the factory method (and destructor) for a dynamically loadable service. Use with arguments matching ACE_FACTORY_DECLARE. Normally used in the .cpp file that defines the service implementation. This macro defines both the factory method and the function used to cleanup the service object.

#define ACE_FD_SETSIZE FD_SETSIZE

#define ACE_FILE_CONNECTOR ACE_FILE_Connector, ACE_FILE_Addr

#define ACE_FILE_STREAM ACE_FILE_IO, ACE_FILE_Addr

#define ACE_FLAG_MULTIPOINT_C_LEAF 0x04

#define ACE_FLAG_MULTIPOINT_C_ROOT 0x02

#define ACE_FLAG_MULTIPOINT_D_LEAF 0x10

#define ACE_FLAG_MULTIPOINT_D_ROOT 0x08

#define ACE_FREE_LIST_WITH_POOL 1

#define ACE_FROM_PROTOCOL_INFO (-1)

#define ACE_GUARD( | MUTEX, OBJ, LOCK )

| Initializer:
    \
      ACE_Guard< MUTEX > OBJ (LOCK); \
        if (OBJ.locked () == 0) return;

#define ACE_GUARD_RETURN( | MUTEX, OBJ, LOCK, RETURN )

| Initializer:
    \
      ACE_Guard< MUTEX > OBJ (LOCK); \
        if (OBJ.locked () == 0) return RETURN;

#define ACE_HAS_ASCII

#define ACE_HOSTENT_DATA_SIZE (4*1024)

#define ACE_HTONL( | X ) X

#define ACE_HTONS( | x ) x

#define ACE_IDL_NCTOHL( | X ) (X << 24)

#define ACE_IDL_NSTOHL( | X ) ((X) << 16)

#define ACE_INFINITE INFINITE

#define ACE_INVALID_PID ((pid_t) -1)

#define ACE_INVALID_SEM_KEY 0

#define ACE_IOV_MAX IOV_MAX

#define ACE_IPPROTO_TCP IPPROTO_TCP

#define ACE_ITOA( | X ) #X

#define ACE_JL_BOTH 0x04

#define ACE_JL_SENDER_ONLY 0x01

#define ACE_KEY_INDEX( | OBJ, KEY ) u_int OBJ = KEY

#define ACE_LACKS_IP_ADD_MEMBERSHIP

#define ACE_LD_SEARCH_PATH ACE_LIB_TEXT ("PATH")

#define ACE_LD_SEARCH_PATH_SEPARATOR_STR ACE_LIB_TEXT (";")

#define ACE_LITE_MMAP_MEMORY_POOL ACE_Lite_MMAP_Memory_Pool, ACE_MMAP_Memory_Pool_Options

#define ACE_LOCALHOST ACE_LIB_TEXT ("localhost")

#define ACE_LOCAL_MEMORY_POOL ACE_Local_Memory_Pool, ACE_Local_Memory_Pool_Options

#define ACE_LSOCK_ACCEPTOR ACE_LSOCK_Acceptor, ACE_UNIX_Addr

#define ACE_LSOCK_CONNECTOR ACE_LSOCK_Connector, ACE_UNIX_Addr

#define ACE_LSOCK_STREAM ACE_LSOCK_Stream, ACE_UNIX_Addr

#define ACE_MAIN main

#define ACE_MAP_FIXED MAP_FIXED

#define ACE_MAP_PRIVATE MAP_PRIVATE

#define ACE_MAP_SHARED MAP_SHARED

#define ACE_MAXCLIENTIDLEN MAXHOSTNAMELEN + 20

#define ACE_MAXLOGMSGLEN 4 * 1024

#define ACE_MAXTOKENNAMELEN 40

#define ACE_MAX_DEFAULT_PORT 65535

#define ACE_MAX_DGRAM_SIZE 8192

#define ACE_MAX_FULLY_QUALIFIED_NAME_LEN 256

#define ACE_MAX_USERID 32

#define ACE_MEM_ACCEPTOR ACE_MEM_Acceptor, ACE_MEM_Addr

#define ACE_MEM_CONNECTOR ACE_MEM_Connector, ACE_INET_Addr

#define ACE_MEM_POOL _ACE_MEM_POOL

#define ACE_MEM_POOL_1 class _ACE_MEM_POOL, class _ACE_MEM_POOL_OPTIONS

#define ACE_MEM_POOL_2 _ACE_MEM_POOL, _ACE_MEM_POOL_OPTIONS

#define ACE_MEM_POOL_OPTIONS _ACE_MEM_POOL_OPTIONS

#define ACE_MEM_STREAM ACE_MEM_Stream, ACE_INET_Addr

#define ACE_MMAP_MEMORY_POOL ACE_MMAP_Memory_Pool, ACE_MMAP_Memory_Pool_Options

#define ACE_MSB_MASK (~(1 << (NFDBITS - 1)))

#define ACE_MT( | X )

#define ACE_NAME_SERVER_MAP "Name Server Map"

#define ACE_NESTED_CLASS( | TYPE, NAME ) TYPE::NAME

#define ACE_NEW_MALLOC( | POINTER, ALLOCATOR, CONSTRUCTOR )

| Initializer:
    \
       do { POINTER = ALLOCATOR; \
         if (POINTER == 0) { errno = ENOMEM; return;} \
         else { new (POINTER) CONSTRUCTOR; } \
       } while (0)

#define ACE_NEW_MALLOC_RETURN( | POINTER, ALLOCATOR, CONSTRUCTOR, RET_VAL )

| Initializer:
    \
       do { POINTER = ALLOCATOR; \
         if (POINTER == 0) { errno = ENOMEM; return RET_VAL;} \
         else { new (POINTER) CONSTRUCTOR; } \
       } while (0)

#define ACE_NONBLOCK O_NDELAY

#define ACE_NON_BLOCKING_BUG_DELAY 35000

#define ACE_NOOP( | x )

#define ACE_NO_HEAP_CHECK

#define ACE_NSIG NSIG

#define ACE_NTOHL( | X ) X

#define ACE_NTOHS( | x ) x

#define ACE_ODD( | NUM ) (((NUM) & 1) == 1)

#define ACE_ONE_SECOND_IN_MSECS 1000L

#define ACE_ONE_SECOND_IN_NSECS 1000000000L

#define ACE_ONE_SECOND_IN_USECS 1000000L

#define ACE_OSTREAM_TYPE ostream

#define ACE_OS_TRACE( | X )

#define ACE_OVERLAPPED_SOCKET_FLAG 0

#define ACE_PAGEFILE_MEMORY_POOL ACE_Pagefile_Memory_Pool, ACE_Pagefile_Memory_Pool_Options

#define ACE_PEER_ACCEPTOR _ACE_PEER_ACCEPTOR

#define ACE_PEER_ACCEPTOR_1 class _ACE_PEER_ACCEPTOR, class _ACE_PEER_ADDR

#define ACE_PEER_ACCEPTOR_2 _ACE_PEER_ACCEPTOR, _ACE_PEER_ADDR

#define ACE_PEER_ACCEPTOR_ADDR _ACE_PEER_ADDR

#define ACE_PEER_CONNECTOR _ACE_PEER_CONNECTOR

#define ACE_PEER_CONNECTOR_1 class _ACE_PEER_CONNECTOR, class _ACE_PEER_ADDR

#define ACE_PEER_CONNECTOR_2 _ACE_PEER_CONNECTOR, _ACE_PEER_ADDR

#define ACE_PEER_CONNECTOR_ADDR _ACE_PEER_ADDR

#define ACE_PEER_CONNECTOR_ADDR_ANY ACE_PEER_CONNECTOR_ADDR::sap_any

#define ACE_PEER_STREAM _ACE_PEER_STREAM

#define ACE_PEER_STREAM_1 class _ACE_PEER_STREAM, class _ACE_PEER_ADDR

#define ACE_PEER_STREAM_2 _ACE_PEER_STREAM, _ACE_PEER_ADDR

#define ACE_PEER_STREAM_ADDR _ACE_PEER_ADDR

#define ACE_PLATFORM ACE_LIB_TEXT (ACE_PLATFORM_A)

#define ACE_PLATFORM_A "Win32"

#define ACE_PLATFORM_EXE_SUFFIX ACE_LIB_TEXT (ACE_PLATFORM_EXE_SUFFIX_A)

#define ACE_PLATFORM_EXE_SUFFIX_A ".exe"

#define ACE_PLATFORM_EXE_SUFFIX_W ACE_TEXT_WIDE(ACE_PLATFORM_EXE_SUFFIX_A)

#define ACE_PLATFORM_W ACE_TEXT_WIDE(ACE_PLATFORM_A)

#define ACE_POW( | X ) (((X) == 0)?1:(X-=1,X|=X>>1,X|=X>>2,X|=X>>4,X|=X>>8,X|=X>>16,(++X)))

#define ACE_PROTOENT_DATA_SIZE (2*1024)

#define ACE_PTHREAD_CLEANUP_POP( | A )

#define ACE_PTHREAD_CLEANUP_PUSH( | A )

#define ACE_PURE_FREE_LIST 2

#define ACE_QOS_NOT_SPECIFIED 0xFFFFFFFF

#define ACE_REACTOR_NOTIFICATION_ARRAY_SIZE 1024

#define ACE_READ_GUARD( | MUTEX, OBJ, LOCK )

| Initializer:
    \
      ACE_Read_Guard< MUTEX > OBJ (LOCK); \
        if (OBJ.locked () == 0) return;

#define ACE_READ_GUARD_RETURN( | MUTEX, OBJ, LOCK, RETURN )

| Initializer:
    \
      ACE_Read_Guard< MUTEX > OBJ (LOCK); \
        if (OBJ.locked () == 0) return RETURN;

#define ACE_RTSIG_MAX 8

#define ACE_SBRK_MEMORY_POOL ACE_Sbrk_Memory_Pool, ACE_Sbrk_Memory_Pool_Options

#define ACE_SCHED_FIFO 1

#define ACE_SCHED_OTHER 0

#define ACE_SCHED_RR 2

#define ACE_SCOPE_LWP 1

#define ACE_SCOPE_PROCESS 0

#define ACE_SCOPE_THREAD 2

#define ACE_SEH_EXCEPT( | X ) while (0)

#define ACE_SEH_FINALLY if (1)

#define ACE_SEH_TRY if (1)

#define ACE_SELF (0)

#define ACE_SERVENT_DATA_SIZE (4*1024)

#define ACE_SERVER_ADDRESS( | H, P ) H":"P

#define ACE_SERVICETYPE_CONTROLLEDLOAD 0x00000001

#define ACE_SERVICETYPE_GUARANTEED 0x00000003

#define ACE_SERVICETYPE_NOTRAFFIC 0x00000000

#define ACE_SET_BITS( | WORD, BITS ) (WORD |= (BITS))

#define ACE_SHARED_MEMORY_POOL ACE_Shared_Memory_Pool, ACE_Shared_Memory_Pool_Options

#define ACE_SHLIB_INVALID_HANDLE 0

#define ACE_SHUTDOWN_BOTH 2

#define ACE_SHUTDOWN_READ 0

| Helper for the ACE_OS::cuserid() function. On some platforms cuserid is a macro. Defining ACE_OS::cuserid() becomes really hard, as there is no way to save the macro definition using the pre-processor. This inline function achieves the same effect, without namespace pollution or performance penalties. Todo: We maybe should move a lot of the code in ACE_OS::cuserid here so it is treated the same as the above ace_difftime and ace_timezone. But since there is a good deal more code in ACE_OS::cuserid, we probably need to move some of it off into some sort of emulation function.

#define ACE_SHUTDOWN_WRITE 1

#define ACE_SIGIO -1

#define ACE_SIGRTMAX SIGRTMAX

#define ACE_SIGRTMIN SIGRTMIN

#define ACE_SIGURG -2

#define ACE_SIO_GET_QOS (0x40000000 | 0x08000000 | 7)

#define ACE_SIO_MULTICAST_SCOPE (0x08000000 | 10)

#define ACE_SIO_MULTIPOINT_LOOPBACK (0x08000000 | 9)

#define ACE_SIO_SET_QOS (0x08000000 | 11)

#define ACE_SOCK_ACCEPTOR ACE_SOCK_Acceptor, ACE_INET_Addr

#define ACE_SOCK_CONNECTOR ACE_SOCK_Connector, ACE_INET_Addr

#define ACE_SOCK_STREAM ACE_SOCK_Stream, ACE_INET_Addr

#define ACE_SPIPE_ACCEPTOR ACE_SPIPE_Acceptor, ACE_SPIPE_Addr

#define ACE_SPIPE_CONNECTOR ACE_SPIPE_Connector, ACE_SPIPE_Addr

#define ACE_SPIPE_STREAM ACE_SPIPE_Stream, ACE_SPIPE_Addr

#define ACE_SPRINTF_ADAPTER( | X ) X

#define ACE_STANDARD_CHARACTER_SET_SIZE 128

#define ACE_STATIC_SVC_DECLARE( | SERVICE_CLASS )

| Initializer:
    \
    extern ACE_Static_Svc_Descriptor ace_svc_desc_##SERVICE_CLASS ;
  Declare a the data structure required to register a statically linked service into the service configurator. The macro should be used in the header file where the service is declared, its only argument is usually the name of the class that implements the service. Parameters:
  SERVICE_CLASS | The name of the class implementing the service.

#define ACE_STATIC_SVC_DECLARE_EXPORT( | EXPORT_NAME, SERVICE_CLASS )

| Initializer:
    \
    extern EXPORT_NAME##_Export ACE_Static_Svc_Descriptor ace_svc_desc_##SERVICE_CLASS;
  As ACE_STATIC_SVC_DECLARE, but using an export macro for NT compilers. NT compilers require the use of explicit directives to export and import symbols from a DLL. If you need to define a service in a dynamic library you should use this version instead. Normally ACE uses a macro to inject the correct export/import directives on NT. Naturally it also the macro expands to a blank on platforms that do not require such directives. The first argument (EXPORT_NAME) is the prefix for this export macro, the full name is formed by appending _Export. ACE provides tools to generate header files that define the macro correctly on all platforms, please see $ACE_ROOT/bin/generate_export_file.pl Parameters:
  EXPORT_NAME | The export macro name prefix.
  SERVICE_CLASS | The name of the class implementing the service.

#define ACE_STATIC_SVC_DEFINE( | SERVICE_CLASS, NAME, TYPE, FN, FLAGS, ACTIVE )

| Initializer:
    \
    ACE_Static_Svc_Descriptor ace_svc_desc_##SERVICE_CLASS = { NAME, TYPE, FN, FLAGS, ACTIVE };
  Define the data structure used to register a statically linked service into the Service Configurator. The service configurator requires several arguments to build and control an statically linked service, including its name, the factory function used to construct the service, and some flags. All those parameters are configured in a single structure, an instance of this structure is statically initialized using the following macro. Parameters:
  SERVICE_CLASS | The name of the class that implements the service, must derive from ACE_Service_Configurator.
  NAME | The name for this service, this name is used by the service configurator to match configuration options provided in the svc.conf file.
  TYPE | The type of object. Objects can be streams or service objects. Please read the ACE_Service_Configurator and ASX documentation for more details.
  FN | The name of the factory function, usually the ACE_SVC_NAME macro can be used to generate the name. The factory function is often defined using ACE_FACTORY_DECLARE and ACE_FACTORY_DEFINE.
  FLAGS | Flags to control the ownership and lifecycle of the object. Please read the ACE_Service_Configurator documentation for more details.
  ACTIVE | If not zero then a thread will be dedicate to the service. Please read the ACE_Service_Configurator documentation for more details.

#define ACE_STATIC_SVC_REGISTER( | SERVICE_CLASS ) do {} while (0)

#define ACE_STATIC_SVC_REQUIRE( | SERVICE_CLASS )

| Initializer:
    \
    class ACE_Static_Svc_##SERVICE_CLASS {\
    public:\
      ACE_Static_Svc_##SERVICE_CLASS() { \
        ACE_Service_Config::static_svcs ()->insert (\
             &ace_svc_desc_##SERVICE_CLASS); \
        } \
    };\
    static ACE_Static_Svc_##SERVICE_CLASS ace_static_svc_##SERVICE_CLASS;
Automatically register a service with the service configurator. In some applications the services must be automatically registered with the service configurator, before main() starts. The ACE_STATIC_SVC_REQUIRE macro defines a class whose constructor register the service, it also defines a static instance of that class to ensure that the service is registered before main. On platforms that lack adequate support for static C++ objects the macro ACE_STATIC_SVC_REGISTER can be used to explicitly register the service. Todo: One class per-Service_Object seems wasteful. It should be possible to define a single class and re-use it for all the service objects, just by passing the Service_Descriptor as an argument to the constructor.

#define ACE_STATUS_TIMEOUT STATUS_TIMEOUT

#define ACE_STDERR GetStdHandle (STD_ERROR_HANDLE)

#define ACE_STDIN GetStdHandle (STD_INPUT_HANDLE)

#define ACE_STDOUT GetStdHandle (STD_OUTPUT_HANDLE)

#define ACE_STREAMBUF_SIZE 1024

#define ACE_SVC_FACTORY_DECLARE( | X ) ACE_FACTORY_DECLARE (ACE_Svc, X)

#define ACE_SVC_FACTORY_DEFINE( | X ) ACE_FACTORY_DEFINE (ACE_Svc, X)

#define ACE_SVC_INVOKE( | SERVICE_CLASS ) _make_##SERVICE_CLASS (0)

| The canonical way to invoke (i.e. construct) a service factory method.

#define ACE_SVC_NAME( | SERVICE_CLASS ) _make_##SERVICE_CLASS

| The canonical name for a service factory method.

#define ACE_SWAP_LONG( | L )

| Initializer:
    ((ACE_SWAP_WORD ((L) & 0xFFFF) << 16) \
                | ACE_SWAP_WORD(((L) >> 16) & 0xFFFF))

#define ACE_SWAP_WORD( | L ) ((((L) & 0x00FF) << 8) | (((L) & 0xFF00) >> 8))

#define ACE_SYNCH_1 ACE_SYNCH_DECL

#define ACE_SYNCH_2 ACE_SYNCH_USE

#define ACE_SYNCH_CONDITION_T _ACE_SYNCH_CONDITION_T

#define ACE_SYNCH_DECL class _ACE_SYNCH_MUTEX_T, class _ACE_SYNCH_CONDITION_T

#define ACE_SYNCH_MUTEX_T _ACE_SYNCH_MUTEX_T

#define ACE_SYNCH_SEMAPHORE_T _ACE_SYNCH_SEMAPHORE_T

#define ACE_SYNCH_USE _ACE_SYNCH_MUTEX_T, _ACE_SYNCH_CONDITION_T

#define ACE_SYSCALL_FAILED 0xFFFFFFFF

#define ACE_TEMPLATE_METHOD_SPECIALIZATION

#define ACE_TEMPLATE_SPECIALIZATION

#define ACE_THROW_SPEC( | X ) throw X

#define ACE_THR_PRI_FIFO_DEF 0

#define ACE_THR_PRI_OTHER_DEF 0

#define ACE_TIMER_SKEW 0

#define ACE_TLI_ACCEPTOR ACE_TLI_Acceptor, ACE_INET_Addr

#define ACE_TLI_CONNECTOR ACE_TLI_Connector, ACE_INET_Addr

#define ACE_TLI_STREAM ACE_TLI_Stream, ACE_INET_Addr

#define ACE_TRACE( | X ) ACE_Trace ____ (ACE_LIB_TEXT (X), __LINE__, ACE_LIB_TEXT (__FILE__))

#define ACE_TSS_GET( | I, T ) (I)

#define ACE_TSS_TYPE( | T ) T

#define ACE_TYPENAME

#define ACE_UNIMPLEMENTED_FUNC( | f ) f;

#define ACE_UNIQUE_NAME_LEN 100

#define ACE_UPIPE_ACCEPTOR ACE_UPIPE_Acceptor, ACE_SPIPE_Addr

#define ACE_UPIPE_CONNECTOR ACE_UPIPE_Connector, ACE_SPIPE_Addr

#define ACE_UPIPE_STREAM ACE_UPIPE_Stream, ACE_SPIPE_Addr

#define ACE_USING

#define ACE_WAIT_FAILED WAIT_FAILED

#define ACE_WAIT_TIMEOUT WAIT_TIMEOUT

#define ACE_WRITE_GUARD( | MUTEX, OBJ, LOCK )

| Initializer:
    \
      ACE_Write_Guard< MUTEX > OBJ (LOCK); \
        if (OBJ.locked () == 0) return;

#define ACE_WRITE_GUARD_RETURN( | MUTEX, OBJ, LOCK, RETURN )

| Initializer:
    \
      ACE_Write_Guard< MUTEX > OBJ (LOCK); \
        if (OBJ.locked () == 0) return RETURN;

#define ACE_WSOCK_VERSION 0, 0

#define ACE_XP1_QOS_SUPPORTED 0x00002000

#define ACE_XP1_SUPPORT_MULTIPOINT 0x00000400

#define ACE_align_binary( | ptr, alignment )

| Initializer:
    \
        ((ptr + ((ptr_arith_t)((alignment)-1))) & (~((ptr_arith_t)((alignment)-1))))

#define ACE_ptr_align_binary( | ptr, alignment )

| Initializer:
    \
            ((char *) ACE_align_binary (((ptr_arith_t) (ptr)), (alignment)))

#define AF_ANY (-1)

#define AF_DEV (AF_MAX + 3)

#define AF_FILE (AF_MAX + 2)

#define AF_SPIPE (AF_MAX + 1)

#define AF_UPIPE (AF_SPIPE)

#define CLOCK_REALTIME 0

#define EADDRINUSE WSAEADDRINUSE

#define EADDRNOTAVAIL WSAEADDRNOTAVAIL

#define EAFNOSUPPORT WSAEAFNOSUPPORT

#define EALREADY WSAEALREADY

#define EBUSY ETIME

#define ECOMM ECONNABORTED

#define ECONNABORTED WSAECONNABORTED

#define ECONNREFUSED WSAECONNREFUSED

#define ECONNRESET WSAECONNRESET

#define EDEADLK 1000

#define EDESTADDRREQ WSAEDESTADDRREQ

#define EDQUOT WSAEDQUOT

#define EHOSTDOWN WSAEHOSTDOWN

#define EHOSTUNREACH WSAEHOSTUNREACH

#define EIDRM 0

#define EINPROGRESS WSAEINPROGRESS

#define EISCONN WSAEISCONN

#define ELOOP WSAELOOP

#define EMSGSIZE WSAEMSGSIZE

#define ENETDOWN WSAENETDOWN

#define ENETRESET WSAENETRESET

#define ENETUNREACH WSAENETUNREACH

#define ENFILE EMFILE

#define ENOBUFS WSAENOBUFS

#define ENOPROTOOPT WSAENOPROTOOPT

#define ENOTCONN WSAENOTCONN

#define ENOTSOCK WSAENOTSOCK

#define EOPNOTSUPP WSAEOPNOTSUPP

#define EPFNOSUPPORT WSAEPFNOSUPPORT

#define EPROCLIM WSAEPROCLIM

#define EPROTONOSUPPORT WSAEPROTONOSUPPORT

#define EPROTOTYPE WSAEPROTOTYPE

#define EREMOTE WSAEREMOTE

#define ESHUTDOWN WSAESHUTDOWN

#define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT

#define ESTALE WSAESTALE

#define ESUCCESS 0

#define ETIME ERROR_SEM_TIMEOUT

#define ETIMEDOUT WSAETIMEDOUT

#define ETOOMANYREFS WSAETOOMANYREFS

#define EUSERS WSAEUSERS

#define EWOULDBLOCK WSAEWOULDBLOCK

#define F_GETFL 0

#define F_OK 0

#define GETALL 0

#define GETVAL 0

#define INADDR_LOOPBACK 0x7f000001

#define INET6_ADDRSTRLEN 46

#define INET_ADDRSTRLEN 16

#define IOV_MAX 16

#define IPC_CREAT 0

#define IPC_EXCL 0

#define IPC_NOWAIT 0

#define IPC_PRIVATE ACE_INVALID_SEM_KEY

#define IPC_RMID 0

#define IPC_STAT 0

#define IP_ADD_MEMBERSHIP 0

#define IP_DEFAULT_MULTICAST_LOOP 0

#define IP_DEFAULT_MULTICAST_TTL 0

#define IP_DROP_MEMBERSHIP 0

#define IP_MAX_MEMBERSHIPS 0

#define IP_MULTICAST_IF 0

#define IP_MULTICAST_TTL 1

#define LOCALNAME 0

#define MAP_FAILED ((void *) -1)

#define MAP_FIXED 4

#define MAP_PRIVATE 1

#define MAP_SHARED 2

#define MAXHOSTNAMELEN 256

#define MAXNAMELEN 256

#define MAXNAMLEN _MAX_FNAME

#define MAXPATHLEN _MAX_PATH

#define MS_ASYNC 0

#define MS_INVALIDATE 0

#define MS_SYNC 0x0

#define NFDBITS 32

#define O_BINARY 0

#define O_NDELAY 1

#define O_NONBLOCK 1

#define O_RAW 0

#define O_TEXT 0

#define PIPE_BUF 5120

#define PROT_RDWR PAGE_READWRITE

#define PROT_READ PAGE_READONLY

#define PROT_WRITE PAGE_READWRITE

#define REMOTENAME 1

#define RUSAGE_SELF 1

#define R_OK 04

#define SA_RESTART 0

#define SA_SIGINFO 0

#define SEM_UNDO 0

#define SETALL 0

#define SETVAL 0

#define SIGALRM 0

#define SIGCHLD 0

#define SIGCLD SIGCHLD

#define SIGHUP 0

#define SIGINT 0

#define SIGIO 0

#define SIGPIPE 0

#define SIGQUIT 0

#define SIGSEGV 0

#define SIGUSR1 0

#define SIGUSR2 0

#define SIG_BLOCK 1

#define SIG_DFL ((__sighandler_t) 0)

#define SIG_ERR ((__sighandler_t) -1)

#define SIG_IGN ((__sighandler_t) 1)

#define SIG_SETMASK 3

#define SIG_UNBLOCK 2

#define SIOCGIFADDR 0

#define SIOCGIFBRDADDR 0

#define WCOREDUMP( | stat ) 0

#define WEXITSTATUS( | stat ) stat

#define WIFCONTINUED( | stat ) 0

#define WIFEXITED( | stat ) 1

#define WIFSIGNALED( | stat ) 0

#define WIFSTOPPED( | stat ) 0

#define WNOHANG 0100

#define WSTOPSIG( | stat ) 0

#define WTERMSIG( | stat ) 0

#define W_OK 02

#define X_OK 01

#define _O_BINARY O_BINARY

#define _O_RAW O_RAW

#define _O_TEXT O_TEXT

#define _SC_AIO_MAX 1

#define _SC_TIMER_MAX 44

## Typedef Documentation

typedef void (* ACE_CLEANUP_FUNC)(void *object, void *param)

typedef int (* ACE_COMPARE_FUNC)(const void *, const void *)

typedef const ACE_TCHAR* ACE_DL_TYPE

typedef fd_set ACE_FD_SET_TYPE

typedef char ACE_HOSTENT_DATA[ACE_HOSTENT_DATA_SIZE]

typedef LPTRANSMIT_FILE_BUFFERS ACE_LPTRANSMIT_FILE_BUFFERS

typedef OVERLAPPED ACE_OVERLAPPED

typedef void (* ACE_OVERLAPPED_COMPLETION_FUNC)(u_long error, u_long bytes_transferred, ACE_OVERLAPPED *overlapped, u_long flags)

typedef char ACE_PROTOENT_DATA[ACE_PROTOENT_DATA_SIZE]

typedef PTRANSMIT_FILE_BUFFERS ACE_PTRANSMIT_FILE_BUFFERS

typedef int (* ACE_QOS_CONDITION_FUNC)(iovec *caller_id, iovec *caller_data, ACE_QoS *socket_qos, ACE_QoS *group_socket_qos, iovec *callee_id, iovec *callee_data, ACE_SOCK_GROUP *g, u_long callbackdata)

typedef unsigned __int64 ACE_QWORD

typedef u_int ACE_RANDR_TYPE

typedef struct iovec ACE_READV_TYPE

typedef int ACE_Rusage

typedef const struct msghdr ACE_SENDMSG_TYPE

typedef char ACE_SERVENT_DATA[ACE_SERVENT_DATA_SIZE]

typedef u_long ACE_SERVICE_TYPE

typedef const struct rlimit ACE_SETRLIMIT_TYPE

typedef HINSTANCE ACE_SHLIB_HANDLE

typedef void (* ACE_SIGNAL_C_FUNC)(int,siginfo_t*,void*)

typedef u_long ACE_SOCK_GROUP

typedef int ACE_Sched_Priority

typedef void (* ACE_Service_Object_Exterminator)(void *)

| Service Objects, i.e., objects dynamically loaded via the service configurator, must provide a destructor function with the following prototype to perform object cleanup.

typedef void (* ACE_Sig_Handler_Ex)(int, siginfo_t *siginfo, ucontext_t *ucontext)

typedef void (* ACE_THR_C_DEST)(void *)

typedef void (* ACE_THR_DEST)(void *)

typedef ACE_THR_FUNC ACE_THR_FUNC_INTERNAL

typedef TRANSMIT_FILE_BUFFERS ACE_TRANSMIT_FILE_BUFFERS

typedef const struct iovec ACE_WRITEV_TYPE

typedef DWORD ACE_exitcode

typedef unsigned __int64 ACE_hrtime_t

typedef HANDLE ACE_hthread_t

typedef DWORD ACE_id_t

typedef int ACE_idtype_t

typedef int ACE_pri_t

typedef struct _stat ACE_stat

typedef DWORD ACE_thread_key_t

typedef DWORD ACE_thread_t

typedef double ACE_timer_t

typedef struct utsname ACE_utsname

typedef const char** SYS_SIGLIST

typedef char* caddr_t

typedef int clockid_t

typedef long gid_t

typedef u_short mode_t

typedef DWORD nlink_t

typedef long pid_t

typedef int sig_atomic_t

typedef int ssize_t

typedef struct timespec timespec_t

typedef int ucontext_t

typedef long uid_t

## Enumeration Type Documentation

enum ACE_Recyclable_State

  | States of a recyclable object. Enumeration values:
  ACE_RECYCLABLE_IDLE_AND_PURGABLE | Idle and can be purged.
  ACE_RECYCLABLE_IDLE_BUT_NOT_PURGABLE | Idle but cannot be purged.
  ACE_RECYCLABLE_PURGABLE_BUT_NOT_IDLE | Can be purged, but is not idle (mostly for debugging).
  ACE_RECYCLABLE_BUSY | Busy (i.e., cannot be recycled or purged).
  ACE_RECYCLABLE_CLOSED | Closed.
  ACE_RECYCLABLE_UNKNOWN | Unknown state.

## Function Documentation

DWORD ACE_HIGH_DWORD ( | ACE_QWORD q )`[inline]`

DWORD ACE_LOW_DWORD ( | ACE_QWORD q )`[inline]`

ACE_QWORD ACE_MAKE_QWORD ( | DWORD lo,
| DWORD hi )`[inline]`

int ACE_SEH_Default_Exception_Handler ( | void * )

int ACE_SEH_Default_Exception_Selector ( | void * )

double ace_difftime ( | time_t t1,
| time_t t0 )`[inline]`

| Helper for the ACE_OS::difftime() function. We moved the difftime code that used to be in ACE_OS::difftime() here because on some platforms "difftime" is a macro. Because of this, the name ACE_OS::difftime will cause errors. So in order to use the macro as it is defined but also keep the name ACE_OS::difftime, we use difftime first here in this inline function, and then undefine it.

long ace_timezone ( | )`[inline]`

| Helper for the ACE_OS::timezone() function. We put all the timezone stuff that used to be in ACE_OS::timezone() here because on some platforms "timezone" is a macro. Because of this, the name ACE_OS::timezone will cause errors. So in order to use the macro as it is defined but also keep the name ACE_OS::timezone, we use timezone first here in this inline function, and then undefine timezone.

ACE_INLINE ACE_Time_Value operator+ ( | const ACE_Time_Value & tv1,
| const ACE_Time_Value & tv2 )

ACE_INLINE ACE_Time_Value operator- ( | const ACE_Time_Value & tv1,
| const ACE_Time_Value & tv2 )

typedef void ( | __cdecl * ACE_SignalHandlerV )

## Variable Documentation

const ACE_UINT32 ACE_U_ONE_SECOND_IN_MSECS = 1000U`[static]`

const ACE_UINT32 ACE_U_ONE_SECOND_IN_NSECS = 1000000000U`[static]`

const ACE_UINT32 ACE_U_ONE_SECOND_IN_USECS = 1000000U`[static]`