summaryrefslogtreecommitdiff
path: root/ace/Synch.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-01-05 07:00:52 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-01-05 07:00:52 +0000
commit8fb663fe0e39f66db28dfab24e1bff515c7734a5 (patch)
tree7ac2b580156255f4a4def09a54487ad8eb13ba88 /ace/Synch.cpp
parent22d87fda71d79af02ca40832b3536e45e1ed2e45 (diff)
downloadATCD-8fb663fe0e39f66db28dfab24e1bff515c7734a5.tar.gz
.
Diffstat (limited to 'ace/Synch.cpp')
-rw-r--r--ace/Synch.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/ace/Synch.cpp b/ace/Synch.cpp
index 91baa2f0586..96554528b0c 100644
--- a/ace/Synch.cpp
+++ b/ace/Synch.cpp
@@ -253,6 +253,7 @@ ACE_File_Lock::dump (void) const
}
ACE_File_Lock::ACE_File_Lock (ACE_HANDLE h)
+ : removed_ (0)
{
// ACE_TRACE ("ACE_File_Lock::ACE_File_Lock");
if (ACE_OS::flock_init (&this->lock_) == -1)
@@ -265,6 +266,7 @@ ACE_File_Lock::ACE_File_Lock (ACE_HANDLE h)
ACE_File_Lock::ACE_File_Lock (LPCTSTR name,
int flags,
mode_t perms)
+ : removed_ (0)
{
// ACE_TRACE ("ACE_File_Lock::ACE_File_Lock");
@@ -378,12 +380,12 @@ ACE_Mutex::dump (void) const
}
ACE_Mutex::ACE_Mutex (int type, LPCTSTR name, void *arg)
+ :
#if defined (CHORUS)
- : process_lock_ (0),
- lockname_ (0)
-#else
- : removed_ (0)
+ process_lock_ (0),
+ lockname_ (0),
#endif /* CHORUS */
+ removed_ (0)
{
// ACE_TRACE ("ACE_Mutex::ACE_Mutex");