diff options
author | Steve Huston <shuston@riverace.com> | 1999-01-29 22:54:55 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 1999-01-29 22:54:55 +0000 |
commit | abd37c9b4222bf696d60453f5d73fdebeb3db984 (patch) | |
tree | 54b1b1fd8dd6e57d24c8881c46a8e8c9325db369 /docs/tutorials/017 | |
parent | c2f3e0fc25bb80ac90ac930ef4e830a7b8ea5ffb (diff) | |
download | ATCD-abd37c9b4222bf696d60453f5d73fdebeb3db984.tar.gz |
Use ACE_OS::thr_equal to compare thread IDs.
Diffstat (limited to 'docs/tutorials/017')
-rw-r--r-- | docs/tutorials/017/Barrier_i.cpp | 2 |
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; } |