diff options
author | Christian Pointner <equinox@anytun.org> | 2008-10-19 23:53:47 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2008-10-19 23:53:47 +0000 |
commit | 3f44dbd1d2924f001c45793e706a6217aa8aa471 (patch) | |
tree | 920d72f3218e2c3b4bffaec501f5fc9b12c6c2a7 /src/signalController.h | |
parent | fixed makefile (diff) |
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
Diffstat (limited to 'src/signalController.h')
-rw-r--r-- | src/signalController.h | 6 |
1 files changed, 3 insertions, 3 deletions
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; }; |