diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-07-30 06:28:49 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-07-30 06:28:49 +0000 |
commit | 1b34004667b0d1a6b1e2c7ab73f7433c08b0f08c (patch) | |
tree | e2583d7533acb8b46772fe0dc69da720478f4096 /ace/Synch_T.h | |
parent | 579c2a28e63d511ce835d148230c5fd247730960 (diff) | |
download | ATCD-1b34004667b0d1a6b1e2c7ab73f7433c08b0f08c.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Synch_T.h')
-rw-r--r-- | ace/Synch_T.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ace/Synch_T.h b/ace/Synch_T.h index 295045082d3..91951d8759a 100644 --- a/ace/Synch_T.h +++ b/ace/Synch_T.h @@ -268,8 +268,7 @@ public: TYPE *ts_object (TYPE *); // Set the thread-specific object for the key associated with this - // object. Returns 0 if the data has never been initialized, - // otherwise returns a pointer to the previous value for the data. + // object. TYPE *operator-> () const; // Use a "smart pointer" to get the thread-specific object @@ -294,6 +293,9 @@ protected: // Actually implements the code that retrieves the object from // thread-specific storage. + int ts_init (void) const; + // Factors out common code for initializing TSS. + #if !(defined (ACE_HAS_THREADS) && (defined (ACE_HAS_THREAD_SPECIFIC_STORAGE) || defined (ACE_HAS_TSS_EMULATION))) TYPE *type_; // This implementation only works for non-threading systems... |