aboutsummaryrefslogtreecommitdiffstats
path: root/toj/center/src/tpool.h
diff options
context:
space:
mode:
Diffstat (limited to 'toj/center/src/tpool.h')
-rwxr-xr-x[-rw-r--r--]toj/center/src/tpool.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/toj/center/src/tpool.h b/toj/center/src/tpool.h
index 08aedbc..c06efc1 100644..100755
--- a/toj/center/src/tpool.h
+++ b/toj/center/src/tpool.h
@@ -1,3 +1,9 @@
+#include<pthread.h>
+#include<semaphore.h>
+#include<sys/eventfd.h>
+#include<queue>
+#include<vector>
+
class tpool_protofn{
public:
virtual void operator()(void *data) = 0;