summaryrefslogtreecommitdiffstats
path: root/src/OSSupport (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #581 from worktycho/strerrorMattes D2014-01-257-65/+76
|\ | | | | Switched cEvent to use strerror_r for error messages
| * Switched cEvent to GetOSErrorStringTycho2014-01-253-18/+14
| |
| * Extracted cSocket::GetErrorString into GetOSErrorStringTycho2014-01-256-59/+62
| |
| * Switched cEvent to use strerror_r for error messagesTycho2014-01-231-6/+18
| |
* | Added cFile::Flush().madmaxoft2014-01-252-20/+34
|/ | | | This is useful when using cFile as a log file and we know the server may crash after a specific write, so we flush the file before continuing.
* Rewritten SocketThreads for proper shutdown scenario.madmaxoft2014-01-194-158/+182
| | | | This fixes #560 and #390.
* SocketThreads: Removed unused code.madmaxoft2014-01-192-53/+3
|
* Fixed SIGPIPE on cSocket::Send().madmaxoft2014-01-163-12/+13
|
* Another VarArgs fix.madmaxoft2014-01-161-4/+2
| | | | This time using va_copy() on platforms that have it and simple assignment on platforms that don't.
* Using a 2nd argument instead of va_copy().madmaxoft2014-01-151-2/+4
| | | | This seems to be the only reasonable C++03-only solution.
* Removed shutdown() from socket closing.madmaxoft2014-01-131-4/+0
| | | | | It's not there for Windows and everything seems fine, the client doesn't shutdown either, so why should we be polite. Fixes #537.
* Added fake functions into cCriticalSection because of the change to ASSERTDiusrex2014-01-051-0/+5
|
* Fixed a race condition in the cQueue class.madmaxoft2014-01-051-59/+86
| | | | Fixes #505.
* Fixed DocumentationTycho2014-01-031-4/+2
|
* derpTycho2014-01-031-1/+1
|
* actual fixTycho2014-01-031-2/+9
|
* fixed failure to return a value from RemoveTycho2014-01-031-1/+1
|
* implement xsofts recommendationsTycho Bickerstaff2014-01-031-9/+15
|
* added documentationTycho Bickerstaff2014-01-021-7/+45
|
* rewrote queue not to use promises for waitsTycho Bickerstaff2014-01-023-105/+11
|
* fogot to add promise classesTycho Bickerstaff2013-12-312-0/+92
|
* clean up code for patchingTycho Bickerstaff2013-12-312-3/+4
|
* refactored chunk Queue to seperate classTycho Bickerstaff2013-12-314-26/+95
|
* Merge remote-tracking branch 'upstream/master' into threadsafequeueTycho Bickerstaff2013-12-221-0/+3
|\
| * Fixed a (valid) warning in RCONServer.madmaxoft2013-12-281-0/+3
| |
* | basic threadsafe queue interfaceTycho Bickerstaff2013-12-212-0/+34
|/
* Merge branch 'master' into cmakeTycho Bickerstaff2013-12-211-2/+2
|\
| * Fixed the rest of constructor reorders.madmaxoft2013-12-201-2/+2
| |
* | added pthread linking code to OSSupportTycho Bickerstaff2013-12-191-0/+4
| |
* | Merge branch 'master' of github.com:mc-server/MCServer into cmakeTycho Bickerstaff2013-12-111-1/+1
|\|
| * fixed comparison of thread handle to Null point rather than null handleTycho Bickerstaff2013-12-101-1/+1
| |
* | added tolua++ command and removed stackwalker from buildTycho Bickerstaff2013-12-101-1/+0
| |
* | more cmake changesTycho Bickerstaff2013-12-101-2/+4
| |
* | more cmakeTycho Bickerstaff2013-12-101-1/+3
| |
* | started work on cmakeTycho Bickerstaff2013-12-101-0/+7
|/
* Fixed the remaining derpsAlexander Harkness2013-11-271-1/+1
|
* Merge remote-tracking branch 'origin/master' into foldermove2Alexander Harkness2013-11-261-4/+5
| | | | | Conflicts: VC2008/MCServer.vcproj
* Merge branch 'master' into foldermove2Alexander Harkness2013-11-261-3/+0
|
* Further attempts to fix compileTiger Wang2013-11-251-1/+1
|
* Attempt to fix compilationTiger Wang2013-11-241-1/+1
|
* Merge remote-tracking branch 'origin/master' into foldermove2Alexander Harkness2013-11-244-7/+90
| | | | | Conflicts: GNUmakefile
* Moved source to srcAlexander Harkness2013-11-2426-0/+3573