lotodore
|
3b25e18fde
|
Rewriting boost asio timer stuff. (Did I mention I dislike the asio "cancel" semantics?!). TimerManager is no longer used. Should be stable now, but might leak some memory (needs further testing).
|
2009-06-12 15:48:34 +00:00 |
|
lotodore
|
c8594e8e7b
|
Canceling asio timers has bad semantics, and causes loads of trouble. Therefore, cancelled timers are simply marked as such, and the asio callback is silently ignored. This fixes several crashes, if players were removed from a game due to an error, because some timers were not cancelled. *sigh* This one took a lot of nerve.
|
2009-06-07 23:25:13 +00:00 |
|
lotodore
|
47648392fb
|
Use boost::asio timer callbacks instead of self-made ones. There are still some termination issues (terminating a network game will result in a crash). However, it should be quite effective now with a large number of users.
|
2009-06-01 19:49:16 +00:00 |
|
lotodore
|
24abedbbab
|
Renaming class ServerGameThread to ServerGame.
|
2009-05-31 20:14:46 +00:00 |
|
lotodore
|
f2bd0c6111
|
ServerGameThread is no longer a thread.
|
2009-05-31 19:45:20 +00:00 |
|