From 922d1249a1a48c13a2e37f1efc1b3204ca5e9813 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 13 Nov 2006 19:28:23 +0000 Subject: 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 --- cpp/src/qpid/sys/Thread.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/qpid/sys/Thread.h') 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) {} -- cgit v1.2.1