summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/Event.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-12-11Cosmetic touchups.Mattes D1-1/+1
Removed trailing whitespace, added cast to remove warning, added file seeking in case of corrupt files.
2014-12-07Fixed integer overflow problems.Mattes D1-3/+3
The event would overflow when requesting a 60 minute timeout.
2014-11-04cEvent: Changed chrono duration resolution.Mattes D1-1/+1
2014-11-04cEvent: Changed steady_clock to system_clock.Mattes D1-2/+2
2014-10-24Moved the chrono include into Globals.Mattes D1-1/+0
2014-10-24Added a missing chrono include.Mattes D1-0/+1
2014-10-23Reimplemented cEvent using C++11 primitives.Mattes D1-120/+34
Fixes #1523.
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-3/+3
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-3/+3
2014-10-05Added a cEvent::Wait() with timeout.Mattes D1-0/+47
2014-07-21Style: Normalized to no spaces before closing parenthesis.madmaxoft1-2/+2
2014-07-01Fixed printf formats for Win buildsmadmaxoft1-3/+3
2014-06-19Nullify deleted pointers.archshift1-0/+1
2014-01-25Switched cEvent to GetOSErrorStringTycho1-18/+11
2014-01-23Switched cEvent to use strerror_r for error messagesTycho1-6/+18
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-09-06Removed TimedWait from cEvent.madmaxoft1-47/+0
Unsupported on MacOS.
2013-09-05Removed TimedWait from cEvent.madmaxoft1-47/+0
Unsupported on MacOS.
2013-08-19Fixed cEvent TimedWait on Linux.madmaxoft1-1/+1
2013-08-19Fixed timed event wait on Linux.madmaxoft1-16/+11
Was causing an error message and the DeadlockDetect didn't work.
2013-08-14cEvent can now wait for the event with a specified timeout.madmaxoft1-26/+78
2012-09-23Source files cleanup: OSSupport-related files in a separate subfolder, renamed.madmaxoft@gmail.com1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@885 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-118/+118
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-12*nix compilation fix (for rev 402)madmaxoft@gmail.com1-4/+6
git-svn-id: http://mc-server.googlecode.com/svn/trunk@405 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-12Fixing compilation on Drawin 9 / MacOS Xmadmaxoft@gmail.com1-12/+5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@402 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-20Using own ASSERT() that logs to filefaketruth1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@297 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-01AString logging fix 2madmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@218 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-01sprintf() begone! Replaced with StringUtils' Printf()madmaxoft@gmail.com1-3/+3
git-svn-id: http://mc-server.googlecode.com/svn/trunk@216 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-01cEvent: fixed wrong errorchecking in win32 Set()madmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@213 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-01-31Hopefully fixed pthreads in cEvent (again)madmaxoft@gmail.com1-0/+3
git-svn-id: http://mc-server.googlecode.com/svn/trunk@200 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-01-31cEvent class cleanup (single-event only, since multi-event wasn't used and wouldn't work on *nix anyway)madmaxoft@gmail.com1-73/+86
git-svn-id: http://mc-server.googlecode.com/svn/trunk@199 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-01-29VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization.madmaxoft@gmail.com1-10/+5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@188 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-03MCServer c++ source filesfaketruth1-0/+112
git-svn-id: http://mc-server.googlecode.com/svn/trunk@3 0a769ca7-a7f5-676a-18bf-c427514a06d6