diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-12-08 00:08:45 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-12-08 00:08:45 +0000 |
commit | e5aac168f9bb01257e912050aa5137551ea394e7 (patch) | |
tree | 5b32d0edb97c3bebcf6aee4a2d57aa40763f7b29 /ace/Synch_T.cpp | |
parent | a54582c074ef294353ef67380b782e957aad3522 (diff) | |
download | ATCD-e5aac168f9bb01257e912050aa5137551ea394e7.tar.gz |
jammer
Diffstat (limited to 'ace/Synch_T.cpp')
-rw-r--r-- | ace/Synch_T.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/Synch_T.cpp b/ace/Synch_T.cpp index 6e371199365..cf6219502eb 100644 --- a/ace/Synch_T.cpp +++ b/ace/Synch_T.cpp @@ -272,7 +272,7 @@ ACE_TSS<TYPE>::ts_get (void) const template <class TYPE> ACE_TSS<TYPE>::ACE_TSS (TYPE *ts_obj) : once_ (0), - key_ (0) + key_ (ACE_OS::NULL_key) { // If caller has passed us a non-NULL TYPE *, then we'll just use // this to initialize the thread-specific value. Thus, subsequent @@ -426,7 +426,7 @@ ACE_TSS_Guard<LOCK>::init_key (void) { // ACE_TRACE ("ACE_TSS_Guard<LOCK>::init_key"); - this->key_ = 0; + this->key_ = ACE_OS::NULL_key; ACE_Thread::keycreate (&this->key_, &ACE_TSS_Guard<LOCK>::cleanup, (void *) this); |