summaryrefslogtreecommitdiff
path: root/docs/tutorials
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>1999-01-29 22:54:55 +0000
committerSteve Huston <shuston@riverace.com>1999-01-29 22:54:55 +0000
commitabd37c9b4222bf696d60453f5d73fdebeb3db984 (patch)
tree54b1b1fd8dd6e57d24c8881c46a8e8c9325db369 /docs/tutorials
parentc2f3e0fc25bb80ac90ac930ef4e830a7b8ea5ffb (diff)
downloadATCD-abd37c9b4222bf696d60453f5d73fdebeb3db984.tar.gz
Use ACE_OS::thr_equal to compare thread IDs.
Diffstat (limited to 'docs/tutorials')
-rw-r--r--docs/tutorials/017/Barrier_i.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorials/017/Barrier_i.cpp b/docs/tutorials/017/Barrier_i.cpp
index a763c1d8273..b170221fcf4 100644
--- a/docs/tutorials/017/Barrier_i.cpp
+++ b/docs/tutorials/017/Barrier_i.cpp
@@ -44,7 +44,7 @@ u_int Barrier::threads(void)
*/
int Barrier::threads( u_int _threads, int _wait )
{
- if( ACE_OS::thr_self() != owner_ )
+ if( ACE_OS::thr_equal(ACE_OS::thr_self(), owner_) )
{
return -1;
}