From 3f44dbd1d2924f001c45793e706a6217aa8aa471 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 19 Oct 2008 23:53:47 +0000 Subject: the signal controller uses boost thread now, however this code can only work as long boost thread uses pthread removed temporarly brocken anyrtpproxy from all target at make use make anyrtpproxy to build it replaced the pthread callbacks for libgcrypt with boost thread callbacks --- src/signalController.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/signalController.h') diff --git a/src/signalController.h b/src/signalController.h index aa57b2c..d99e168 100644 --- a/src/signalController.h +++ b/src/signalController.h @@ -98,9 +98,9 @@ public: class SignalController { public: - SignalController() {} + SignalController() { thread = NULL; } ~SignalController(); - static void* handle(void* s); + static void handle(void* s); void init(); int run(); @@ -115,7 +115,7 @@ private: Mutex sigQueueMutex; Semaphore sigQueueSem; - pthread_t thread; + boost::thread* thread; HandlerMap handler; }; -- cgit v1.2.3