diff options
author | Steve Huston <shuston@riverace.com> | 2001-05-10 22:48:11 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2001-05-10 22:48:11 +0000 |
commit | 92b1ba96085dd4d9d03f6c3b9f0b09b8ce6183f5 (patch) | |
tree | 02a459c70e19ca4f48a3497b665af2b5e8083c81 /ace/Process_Mutex.inl | |
parent | 93346cf3709295f11bbd1f9ad79a085819c5ff05 (diff) | |
download | ATCD-92b1ba96085dd4d9d03f6c3b9f0b09b8ce6183f5.tar.gz |
ChangeLogTag:Thu May 10 18:37:41 2001 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ace/Process_Mutex.inl')
-rw-r--r-- | ace/Process_Mutex.inl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ace/Process_Mutex.inl b/ace/Process_Mutex.inl index 6fc84c11a2b..28b282f6782 100644 --- a/ace/Process_Mutex.inl +++ b/ace/Process_Mutex.inl @@ -1,14 +1,14 @@ /* -*- C++ -*- */ // $Id$ -#if defined (ACE_WIN32) || defined (ACE_HAS_POSIX_SEM) || defined (ACE_PSOS) +#if defined (_ACE_HAS_INTER_PROC_MUTEX) ACE_INLINE const ACE_mutex_t & ACE_Process_Mutex::lock (void) const { // ACE_TRACE ("ACE_Process_Mutex::lock"); return this->lock_.lock (); } -#endif /* ACE_WIN32 || ACE_HAS_POSIX_SEM || ACE_PSOS */ +#endif /* _ACE_HAS_INTER_PROC_MUTEX */ // Explicitly destroy the mutex. ACE_INLINE int @@ -28,12 +28,12 @@ ACE_Process_Mutex::acquire (void) ACE_INLINE int ACE_Process_Mutex::acquire (ACE_Time_Value &tv) { -#if defined (ACE_WIN32) || defined (ACE_HAS_POSIX_SEM) || defined (ACE_PSOS) +#if defined (_ACE_HAS_INTER_PROC_MUTEX) return this->lock_.acquire (tv); #else ACE_UNUSED_ARG (tv); ACE_NOTSUP_RETURN (-1); -#endif /* ACE_WIN32 || ACE_HAS_POSIX_SEM || ACE_PSOS */ +#endif /* _ACE_HAS_INTER_PROC_MUTEX */ } // Conditionally acquire lock (i.e., don't wait on queue). |