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:
lotodore
2007-10-29 22:16:21 +00:00
parent f13311c9e6
commit 70e2d5556f
3 changed files with 32 additions and 12 deletions
+1 -1
View File
@@ -27,7 +27,7 @@
#include <deque>
#define GAME_THREAD_TERMINATE_TIMEOUT 20000
#define GAME_THREAD_TERMINATE_TIMEOUT THREAD_WAIT_INFINITE
class SenderThread;