Added the functions to allow scheduling of a thread to start at some
[citadel.git] / citadel / server_main.c
index c46c0857a2375fa55bd52064429cfe09f8ea4573..363c058cd35b2343850e83e0810f0f0347af97ae 100644 (file)
@@ -388,6 +388,8 @@ void go_threading(void)
                        begin_critical_section(S_THREAD_LIST);
                        ctdl_thread_internal_calc_loadavg();
                        end_critical_section(S_THREAD_LIST);
+                       
+                       ctdl_thread_internal_check_scheduled(); /* start scheduled threads */
                }
                
                /* Reduce the size of the worker thread pool if necessary. */