summaryrefslogtreecommitdiff
path: root/ace/Synch_T.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1996-10-27 21:44:14 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1996-10-27 21:44:14 +0000
commit0cc5504a5c8a958101a09accb21c135281d5e9ff (patch)
treea38b7d21b5f25b5ef5548a423339c747f056059c /ace/Synch_T.cpp
parent997479406012dab3e5e787d3a724bf5f2fd2b04c (diff)
downloadATCD-0cc5504a5c8a958101a09accb21c135281d5e9ff.tar.gz
Jamming!
Diffstat (limited to 'ace/Synch_T.cpp')
-rw-r--r--ace/Synch_T.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ace/Synch_T.cpp b/ace/Synch_T.cpp
index d9389f139a2..a24ab8e46b9 100644
--- a/ace/Synch_T.cpp
+++ b/ace/Synch_T.cpp
@@ -310,7 +310,7 @@ ACE_TSS<TYPE>::ts_get (void) const
if (this->once_ == 0)
{
// Insure that we are serialized!
- ACE_GUARD_RETURN (ACE_Mutex, ace_mon, (ACE_Mutex &) this->keylock_, 0);
+ ACE_GUARD_RETURN (ACE_Thread_Mutex, ace_mon, (ACE_Thread_Mutex &) this->keylock_, 0);
// Use the Double-Check pattern to make sure we only create the
// key once!
@@ -365,7 +365,7 @@ template <class TYPE> TYPE *
ACE_TSS<TYPE>::ts_object (void) const
{
// Ensure that we are serialized!
- ACE_GUARD_RETURN (ACE_Mutex, ace_mon, (ACE_Mutex &) this->keylock_, 0);
+ ACE_GUARD_RETURN (ACE_Thread_Mutex, ace_mon, (ACE_Thread_Mutex &) this->keylock_, 0);
if (this->once_ == 0) // Return 0 if we've never been initialized.
return 0;
@@ -384,7 +384,7 @@ template <class TYPE> TYPE *
ACE_TSS<TYPE>::ts_object (TYPE *new_ts_obj)
{
// Ensure that we are serialized!
- ACE_GUARD_RETURN (ACE_Mutex, ace_mon, this->keylock_, 0);
+ ACE_GUARD_RETURN (ACE_Thread_Mutex, ace_mon, this->keylock_, 0);
if (this->once_ == 0) // Return 0 if we've never been initialized.
return 0;