summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/NetworkSingleton.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-06-26Self tests (#3242)Mattes D1-5/+2
* 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-18cNetwork: Fixed possible hang when terminating immediately after init.Mattes D1-2/+19
2015-08-20Fixed and improved restartingTiger Wang1-22/+31
Restarts are now an actual, close-as-possible to application exit+reopen.
2015-07-23Fixed cNetworkSingleton's HasTerminated flag.Mattes D1-1/+4
Should fix random failures in Google-test.
2015-02-18NetworkSingleton: LibEvent thread is joined properly on server exit.Mattes D1-4/+2
2015-01-27Added network termination called at app exit.Mattes D1-11/+33
This fixes a crash in MSVC runtime caused by joining a thread in a global var's destructor.
2015-01-23cNetwork: Added self pointers to keep objects alive for callbacks.Mattes D1-0/+2
Ref.: http://forum.mc-server.org/showthread.php?tid=1700&pid=17947#pid17947
2015-01-22cNetwork: Fixed race conditions with lookups; proper shutdown.Mattes D1-38/+39
2015-01-22cNetwork: Split the main cpp file into several files.Mattes D1-45/+6
2015-01-22cNetwork: Split cNetworkSingleton to a separate file.Mattes D1-0/+281