diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-11-07 03:16:50 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-11-07 03:16:50 +0000 |
commit | 06cfc98eedbedb12028c0520095d9d5e9617ba0e (patch) | |
tree | 363fe7a0ce383d75df15d61b74255adf902596bb /ace/Synch_T.h | |
parent | 891adbd6fce978d3313459712e28b41185e8368c (diff) | |
download | ATCD-06cfc98eedbedb12028c0520095d9d5e9617ba0e.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Synch_T.h')
-rw-r--r-- | ace/Synch_T.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ace/Synch_T.h b/ace/Synch_T.h index 0a1f4b2abec..e65af45549d 100644 --- a/ace/Synch_T.h +++ b/ace/Synch_T.h @@ -761,12 +761,6 @@ public: typedef ACE_Null_Mutex NULL_SEMAPHORE; }; -#define ACE_SYNCH ACE_MT_SYNCH - -#else /* ACE_HAS_THREADS */ - -#define ACE_SYNCH ACE_NULL_SYNCH - #endif /* ACE_HAS_THREADS */ #define ACE_SYNCH_MUTEX ACE_SYNCH::MUTEX @@ -814,6 +808,12 @@ public: #define ACE_SYNCH_PROCESS_SEMAPHORE ACE_Process_Semaphore #define ACE_SYNCH_PROCESS_MUTEX ACE_Process_Mutex +#if defined (ACE_HAS_THREADS) +#define ACE_SYNCH ACE_MT_SYNCH +#else /* ACE_HAS_THREADS */ +#define ACE_SYNCH ACE_NULL_SYNCH +#endif /* ACE_HAS_THREADS */ + #if defined (__ACE_INLINE__) #include "ace/Synch_T.i" // On non-Win32 platforms, this code will be inlined |