summaryrefslogtreecommitdiff
path: root/ace/Synch_T.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1996-12-08 00:08:45 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1996-12-08 00:08:45 +0000
commite5aac168f9bb01257e912050aa5137551ea394e7 (patch)
tree5b32d0edb97c3bebcf6aee4a2d57aa40763f7b29 /ace/Synch_T.cpp
parenta54582c074ef294353ef67380b782e957aad3522 (diff)
downloadATCD-e5aac168f9bb01257e912050aa5137551ea394e7.tar.gz
jammer
Diffstat (limited to 'ace/Synch_T.cpp')
-rw-r--r--ace/Synch_T.cpp4
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);