From 1b7a57d7f88cab0a1968e8c886eac3629dc74617 Mon Sep 17 00:00:00 2001 From: Pixel Date: Thu, 17 Nov 2011 18:41:23 -0800 Subject: 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. --- includes/TaskMan.h | 1 + 1 file changed, 1 insertion(+) (limited to 'includes/TaskMan.h') 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(); -- cgit v1.2.3