Commit a3f9375a authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Close race condition


git-svn-id: http://www.varnish-cache.org/svn/trunk@286 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 3dca4dcf
......@@ -139,8 +139,8 @@ EXP_Init(void)
{
AZ(pthread_mutex_init(&exp_mtx, NULL));
AZ(pthread_create(&exp_thread, NULL, exp_prefetch, NULL));
AZ(pthread_create(&exp_thread, NULL, exp_hangman, NULL));
exp_heap = binheap_new(NULL, object_cmp, object_update);
assert(exp_heap != NULL);
AZ(pthread_create(&exp_thread, NULL, exp_prefetch, NULL));
AZ(pthread_create(&exp_thread, NULL, exp_hangman, NULL));
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment