Fixed design problem: Thread objects can now be created in any context.
Sender thread output queue is now limited. Server thread now terminates correctly. Now cloning packets when sending them to multiple recipients. Fixed one thread issue - GameStart still needs to be made thread safe.
This commit is contained in:
@@ -29,7 +29,9 @@
|
||||
#include <deque>
|
||||
#include <boost/shared_ptr.hpp>
|
||||
|
||||
#define SENDER_THREAD_TERMINATE_TIMEOUT 100
|
||||
#define SENDER_THREAD_TERMINATE_TIMEOUT 200
|
||||
#define SEND_TIMEOUT_MSEC 50
|
||||
#define SEND_QUEUE_SIZE 200
|
||||
|
||||
class SenderThread : public Thread
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user