added thread initialization/deinitialization hooks

moved empty_enumerator to a public implementation
This commit is contained in:
Martin Willi
2007-10-02 11:23:14 +00:00
parent 06011f6882
commit 754f90165f
6 changed files with 78 additions and 32 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ int main (int arc, char *argv[])
dispatcher->add_controller(dispatcher, gateway_controller_create, NULL);
dispatcher->add_controller(dispatcher, auth_controller_create, NULL);
dispatcher->run(dispatcher, THREADS);
dispatcher->run(dispatcher, THREADS, NULL, NULL, NULL, NULL);
dispatcher->waitsignal(dispatcher);