diff options
author | Alan Conway <aconway@apache.org> | 2006-11-13 19:28:23 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2006-11-13 19:28:23 +0000 |
commit | 922d1249a1a48c13a2e37f1efc1b3204ca5e9813 (patch) | |
tree | 0a5284b22967b19a97d02284d3bafe2ae9d79df0 /cpp/src/qpid/sys/Thread.h | |
parent | fc5ad32cc8f2d4d793c0cf79382755e9fca2357c (diff) | |
download | qpid-python-922d1249a1a48c13a2e37f1efc1b3204ca5e9813.tar.gz |
EventChannel classes, start of epoll-based posix implementation.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@474452 13f79535-47bb-0310-9956-ffa450edef68
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) {} |