Work Stealing Queue Deadlock fix. #275

merged 1 commit into from Apr 18, 2012
Commits on Apr 18, 2012
  1. threadpool.c (async_invoke_thread) :

    bholmes committed Apr 18, 2012
    	Check that all the work stealing queues are empty before entering the wait loop.
    	If another thread adds a wsq job after the previous call to dequeue_or_steal
    	but before the InterlockedIncrement call deadlock can occur.