summaryrefslogtreecommitdiff
path: root/src/thrd/pool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/thrd/pool.h')
-rwxr-xr-xsrc/thrd/pool.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/thrd/pool.h b/src/thrd/pool.h
index 3a5f7b6..78c4163 100755
--- a/src/thrd/pool.h
+++ b/src/thrd/pool.h
@@ -7,11 +7,9 @@
using namespace std;
-class pool
+class pool
{
private:
- friend class thro;
-
struct task
{
void(*p_func)(void*);
@@ -22,7 +20,7 @@ private:
this->p_func = p_func;
this->p_void = p_void;
}
- };
+ };
pthread_mutex_t mut_threads;
pthread_mutex_t mut_queue_tasks;
@@ -43,11 +41,10 @@ public:
pool();
~pool();
- void run(void* p_void);
+ void run(void* p_void);
bool allow_user_login();
#ifdef NCURSES
-
void print_pool_size();
#endif
};