If a sender thread is stalled while trying to send, time out after 2 seconds. Use infinite timeout when terminating threads.
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
|
||||
#include <deque>
|
||||
|
||||
#define GAME_THREAD_TERMINATE_TIMEOUT 20000
|
||||
#define GAME_THREAD_TERMINATE_TIMEOUT THREAD_WAIT_INFINITE
|
||||
|
||||
|
||||
class SenderThread;
|
||||
|
||||
Reference in New Issue
Block a user