summaryrefslogtreecommitdiff
path: root/ace/Synch.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-11 00:45:19 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-11 00:45:19 +0000
commita9bf571972ac2c5eee629ef061437f5a41090fde (patch)
tree1f09df5ac1ebfbf4309b5fb9751cb4bfb859f44d /ace/Synch.cpp
parent9b71450b19be4d024fbfc9a90c2ab136e53002a1 (diff)
downloadATCD-a9bf571972ac2c5eee629ef061437f5a41090fde.tar.gz
.
Diffstat (limited to 'ace/Synch.cpp')
-rw-r--r--ace/Synch.cpp13
1 files changed, 10 insertions, 3 deletions
diff --git a/ace/Synch.cpp b/ace/Synch.cpp
index 1fd5927c6fa..6ec5b3ebd84 100644
--- a/ace/Synch.cpp
+++ b/ace/Synch.cpp
@@ -246,7 +246,9 @@ ACE_File_Lock::ACE_File_Lock (ACE_HANDLE h)
{
// ACE_TRACE ("ACE_File_Lock::ACE_File_Lock");
if (ACE_OS::flock_init (&this->lock_) == -1)
- ACE_ERROR ((LM_ERROR, ASYS_TEXT("%p\n"), ASYS_TEXT("ACE_File_Lock::ACE_File_Lock")));
+ ACE_ERROR ((LM_ERROR,
+ ASYS_TEXT("%p\n"),
+ ASYS_TEXT("ACE_File_Lock::ACE_File_Lock")));
this->set_handle (h);
}
@@ -257,7 +259,10 @@ ACE_File_Lock::ACE_File_Lock (LPCTSTR name,
// ACE_TRACE ("ACE_File_Lock::ACE_File_Lock");
if (this->open (name, flags, perms) == -1)
- ACE_ERROR ((LM_ERROR, ASYS_TEXT("%p\n"), ASYS_TEXT("ACE_File_Lock::ACE_File_Lock")));
+ ACE_ERROR ((LM_ERROR,
+ ASYS_TEXT ("%p %s\n"),
+ ASYS_TEXT("ACE_File_Lock::ACE_File_Lock")),
+ name);
}
int
@@ -363,7 +368,9 @@ ACE_Mutex::ACE_Mutex (int type, LPCTSTR name, void *arg)
// ACE_TRACE ("ACE_Mutex::ACE_Mutex");
if (ACE_OS::mutex_init (&this->lock_, type, name, arg) != 0)
- ACE_ERROR ((LM_ERROR, ASYS_TEXT("%p\n"), ASYS_TEXT("ACE_Mutex::ACE_Mutex")));
+ ACE_ERROR ((LM_ERROR,
+ ASYS_TEXT ("%p\n"),
+ ASYS_TEXT ("ACE_Mutex::ACE_Mutex")));
}
ACE_Mutex::~ACE_Mutex (void)