Tiger Wang
8c6d0b51c7
Use CMake's Android generators to crosscompile
2016-12-12 14:32:32 +00:00
Mattes D
1462e4f70e
Self tests ( #3242 )
...
* SelfTests: Added a cEvent stress-test.
* cNetwork: Fixed startup event hang.
The original code used to hang with a ~ 1:50000 chance, because on Linux the cEvent was destroyed before its "Set()" returned.
2016-06-26 14:51:12 +01:00
Mattes D
8610083a8e
cNetwork: Fixed possible hang when terminating immediately after init.
2016-06-18 13:12:12 +02:00
Tiger Wang
4315a11393
Fixed and improved restarting
...
Restarts are now an actual, close-as-possible to application
exit+reopen.
2015-08-20 16:15:23 +01:00
Mattes D
c74d856b57
Fixed cNetworkSingleton's HasTerminated flag.
...
Should fix random failures in Google-test.
2015-07-23 16:15:21 +02:00
Mattes D
70d54054e3
NetworkSingleton: LibEvent thread is joined properly on server exit.
2015-02-18 22:41:22 +01:00
Mattes D
053362e604
Added network termination called at app exit.
...
This fixes a crash in MSVC runtime caused by joining a thread in a global var's destructor.
2015-01-27 14:53:37 +01:00
Mattes D
10cfa61fbc
cNetwork: Added self pointers to keep objects alive for callbacks.
...
Ref.: http://forum.mc-server.org/showthread.php?tid=1700&pid=17947#pid17947
2015-01-23 23:01:18 +01:00
Mattes D
d4682463a1
cNetwork: Fixed race conditions with lookups; proper shutdown.
2015-01-22 20:13:02 +01:00
Mattes D
c0cb787c10
cNetwork: Split the main cpp file into several files.
2015-01-22 20:13:02 +01:00
Mattes D
d3076a3e16
cNetwork: Split cNetworkSingleton to a separate file.
2015-01-22 20:13:00 +01:00