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 | ed6a442f7c63cf7e14cb4c4a45e8e0ad2df7b382 (patch) | |
tree | 5b32d0edb97c3bebcf6aee4a2d57aa40763f7b29 /ace/Synch_T.cpp | |
parent | c2c02e4be7bd96233d0fa1b54257d78d78d37021 (diff) | |
download | ATCD-ed6a442f7c63cf7e14cb4c4a45e8e0ad2df7b382.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); |