diff options
Diffstat (limited to 'cpp/src/qpid/sys/Thread.h')
-rw-r--r-- | cpp/src/qpid/sys/Thread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/sys/Thread.h b/cpp/src/qpid/sys/Thread.h index ed42dfd811..79dfc184e0 100644 --- a/cpp/src/qpid/sys/Thread.h +++ b/cpp/src/qpid/sys/Thread.h @@ -87,11 +87,11 @@ Thread Thread::current(){ #else Thread::Thread(Runnable* runnable) { - CHECK(pthread_create(&thread, NULL, runRunnable, runnable)); + CHECK0(pthread_create(&thread, NULL, runRunnable, runnable)); } void Thread::join(){ - if (thread != 0) CHECK(pthread_join(thread, 0)); + if (thread != 0) CHECK0(pthread_join(thread, 0)); } Thread::Thread(pthread_t thr) : thread(thr) {} |