From c5924560b7e43eb17eb49ac9a78b3d8da7b35a53 Mon Sep 17 00:00:00 2001 From: sma Date: Thu, 5 Aug 2010 07:40:52 +0000 Subject: ChangeLogTag: Thu Aug 5 07:40:00 UTC 2010 Build CZar Correct the syntax errors introduced by previous fix. --- ACE/ChangeLog | 6 ++++++ ACE/ace/OS_NS_Thread.cpp | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ACE/ChangeLog b/ACE/ChangeLog index 2a5066c1a6d..819dae97a2a 100644 --- a/ACE/ChangeLog +++ b/ACE/ChangeLog @@ -1,3 +1,9 @@ +Thu Aug 5 07:40:00 UTC 2010 Build CZar + + * ace/OS_NS_Thread.cpp: + Add the missing ; to the lines added by the fix below. + Wed Aug 4 14:16:46 UTC 2010 Johnny Willemsen + Wed Aug 4 17:21:17 UTC 2010 Chris Cleeland * bin/MakeProjectCreator/config/crosscompile.mpb: diff --git a/ACE/ace/OS_NS_Thread.cpp b/ACE/ace/OS_NS_Thread.cpp index 7ed66013f5e..ab957b43500 100644 --- a/ACE/ace/OS_NS_Thread.cpp +++ b/ACE/ace/OS_NS_Thread.cpp @@ -1151,7 +1151,7 @@ ACE_OS::cond_broadcast (ACE_cond_t *cv) // consistent relative to each other. if (ACE_OS::thread_mutex_lock (&cv->waiters_lock_) != 0) { - return -1 + return -1; } bool have_waiters = false; @@ -1169,7 +1169,7 @@ ACE_OS::cond_broadcast (ACE_cond_t *cv) if (ACE_OS::thread_mutex_unlock (&cv->waiters_lock_) != 0) { // This is really bad, we have the lock but can't release it anymore - return -1 + return -1; } int result = 0; @@ -1316,7 +1316,7 @@ ACE_OS::cond_signal (ACE_cond_t *cv) return -1; bool const have_waiters = cv->waiters_ > 0; if (ACE_OS::thread_mutex_unlock (&cv->waiters_lock_) != 0) - return -1 + return -1; if (have_waiters) return ACE_OS::sema_post (&cv->sema_); @@ -1341,7 +1341,7 @@ ACE_OS::cond_wait (ACE_cond_t *cv, ++cv->waiters_; if (ACE_OS::thread_mutex_unlock (&cv->waiters_lock_) != 0) - return -1 + return -1; int result = 0; @@ -1442,7 +1442,7 @@ ACE_OS::cond_timedwait (ACE_cond_t *cv, // Prevent race conditions on the count. if (ACE_OS::thread_mutex_lock (&cv->waiters_lock_) != 0) - return -1 + return -1; ++cv->waiters_; -- cgit v1.2.1