diff options
author | Pixel <pixel@nobis-crew.org> | 2011-11-17 18:41:23 -0800 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2011-11-17 18:41:51 -0800 |
commit | 1b7a57d7f88cab0a1968e8c886eac3629dc74617 (patch) | |
tree | 3d60366ee3caa2ec3061a42abd2a61c78a1fa5d2 /includes/TaskMan.h | |
parent | e617d26a9291c69988321a812dc5e1f3578e743b (diff) |
HTTP server's first real test, alongside multiple taskmanager threads.
I'm not really sure I fully like the way I'm designing this, but I guess it could be solved with an HTTP/HTML helper class around the Action class.
However, the HTTP server awfully need reference counting, so it doesn't go away before all of the workers disappear, which means a bit of a redesign of the Listener template.
Diffstat (limited to 'includes/TaskMan.h')
-rw-r--r-- | includes/TaskMan.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/TaskMan.h b/includes/TaskMan.h index c63695a..026ea88 100644 --- a/includes/TaskMan.h +++ b/includes/TaskMan.h @@ -33,6 +33,7 @@ class TaskMan { void signalTask(Task * t); static void stop(); void stopMe() { m_stopped = true; } + static Thread * createThreadedTaskMan(); private: static void registerTask(Task * t, Task * stick); void * getStack(); |