diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-01-14 06:30:06 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-01-14 06:30:06 +0000 |
commit | 6c2d206d92e1a65206097b8b1ceb5ee2b26c614e (patch) | |
tree | 33bd534b39f1e5bf30c4f56bf7f08e17dd5329ad /ace/Synch.h | |
parent | 150dd3b206f682eab457909da327025f08e46e3a (diff) | |
download | ATCD-6c2d206d92e1a65206097b8b1ceb5ee2b26c614e.tar.gz |
foo
Diffstat (limited to 'ace/Synch.h')
-rw-r--r-- | ace/Synch.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ace/Synch.h b/ace/Synch.h index eb65c76b570..9c8214da13a 100644 --- a/ace/Synch.h +++ b/ace/Synch.h @@ -271,6 +271,11 @@ public: // <tryacquire> and is only here to make the <ACE_Process_Semaphore> // interface consistent with the other synchronization APIs. +#if defined (ACE_WIN32) || defined (ACE_HAS_POSIX_SEM) + const ACE_sema_t &lock (void) const; + // Return the underlying lock. +#endif /* ACE_WIN32 */ + void dump (void) const; // Dump the state of an object. @@ -451,6 +456,11 @@ public: int tryacquire_write (void); // Conditionally acquire a lock (i.e., won't block). +#if defined (ACE_WIN32) || defined (ACE_HAS_POSIX_SEM) + const ACE_mutex_t &lock (void) const; + // Return the underlying mutex. +#endif /* ACE_WIN32 */ + void dump (void) const; // Dump the state of an object. |