Revert to having the windows-bug workaround (short timeout on

GetQueuedCompletionStatus) on all threads as there are still scenarios
where threads can get stuck indefinitely.
This commit is contained in:
chris_kohlhoff 2008-03-12 12:48:41 +00:00
parent 61a9b5f212
commit 8785112b82

View File

@ -392,7 +392,7 @@ private:
&timer_thread_, this_thread_id, 0) == 0);
// Calculate timeout for GetQueuedCompletionStatus call.
DWORD timeout = INFINITE;
DWORD timeout = max_timeout;
if (dispatching_timers)
{
asio::detail::mutex::scoped_lock lock(timer_mutex_);