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:
parent
61a9b5f212
commit
8785112b82
@ -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_);
|
||||
|
Loading…
Reference in New Issue
Block a user