summaryrefslogtreecommitdiff
path: root/src/signalController.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-10-19 23:53:47 +0000
committerChristian Pointner <equinox@anytun.org>2008-10-19 23:53:47 +0000
commit3f44dbd1d2924f001c45793e706a6217aa8aa471 (patch)
tree920d72f3218e2c3b4bffaec501f5fc9b12c6c2a7 /src/signalController.h
parentfixed 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.h6
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;
};