diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-09-14 17:22:56 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-09-14 17:22:56 +0000 |
commit | b2db6507886aaacc74a4433fdca874ba8d6a5c16 (patch) | |
tree | 3f7696f30f7d49ab991f2454effc3e6a9428d9d0 /ace/Local_Tokens.h | |
parent | 0674f2e3bd6c3a5710f4f9ff28956d9e7f6c887b (diff) | |
download | ATCD-b2db6507886aaacc74a4433fdca874ba8d6a5c16.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Local_Tokens.h')
-rw-r--r-- | ace/Local_Tokens.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/ace/Local_Tokens.h b/ace/Local_Tokens.h index cd86d10e9b2..11b1528c7bc 100644 --- a/ace/Local_Tokens.h +++ b/ace/Local_Tokens.h @@ -720,6 +720,28 @@ public: ACE_Synch_Options::defaults); // Calls remove on the token. + virtual int acquire_read (int notify = 0, + void (*sleep_hook)(void *) = 0, + ACE_Synch_Options &options = + ACE_Synch_Options::defaults); + // Since the locking mechanism doesn't support read locks then this + // just calls <acquire>. + + virtual int acquire_write (int notify = 0, + void (*sleep_hook)(void *) = 0, + ACE_Synch_Options &options = + ACE_Synch_Options::defaults); + // Since the locking mechanism doesn't support write locks then this + // just calls <acquire>. + + virtual int tryacquire_read (void (*sleep_hook)(void *) = 0); + // Since the locking mechanism doesn't support read locks then this + // just calls <tryacquire>. + + virtual int tryacquire_write (void (*sleep_hook)(void *) = 0); + // Since the locking mechanism doesn't support write locks then this + // just calls <tryacquire>. + // = Utility methods. virtual const char *client_id (void) const; |