summaryrefslogtreecommitdiff
path: root/lib/common/Timer.cpp
Commit message (Collapse)AuthorAge
* Don't log our own timestamp now that Logging can do it for us withChris Wilson2007-12-15
| | | | | microsecond precision.
* Don't crash when trying to cleanup timers a second time (or if neverChris Wilson2007-12-02
| | | | | initialised) in release mode.
* sigemptyset() is a macro on OSX 10.3, so don't prepend ::Chris Wilson2007-11-03
|
* Bite the bullet and use sigaction() instead, since [1803] shows thatChris Wilson2007-10-22
| | | | | | signal() works badly on SuckOS, and James reports that BSD doesn't have sigset().
* Make detailed timer debugging work on Windows as well.Chris Wilson2007-10-17
| | | | | | | Add a couple of macros to clean up the code. (merges [1857])
* Use sigset() instead of signal() to ensure that SysV systems (like Solaris)Chris Wilson2007-09-01
| | | | | will not clear our signal handler after firing it.
* Compile fix to [1448] (refs #3)Chris Wilson2007-03-24
|
* Use logging framework to remove timer noise for those who don't want it.Chris Wilson2007-03-24
| | | | | (refs #3, merges [1445])
* Win32 compile fixes (no gettimeofday(), no signal()) (refs #3)Chris Wilson2007-03-10
|
* Throw an assertion error if a NULL timer is added (refs #3, merges [1367])Chris Wilson2007-03-10
|
* Don't do things with essential side effects inside ASSERT() macros Chris Wilson2007-01-14
| | | | | (refs #3, refs #9)
* - Make sure timer is stopped before removing signal handler, otherwiseChris Wilson2007-01-14
| | | | | SIGALRM will kill us.
* Fix more deadlocks by minimising the amount of stuff that the signalChris Wilson2006-12-13
| | | | | handler does. (refs #3, refs #9)
* Fixed a race condition caused by rescheduling in signal handler (refs Chris Wilson2006-12-03
| | | | | #3, refs #9)
* Added debug tracing code for timers.Chris Wilson2006-11-28
|
* * Fix timer expiry calculation when timers expire in the pastChris Wilson2006-11-26
| | | | | * Fix handling of timers which never expire (zero deadline) (refs #9)
* Use a static pointer rather than a static object, to allow it to be Chris Wilson2006-11-13
| | | | | freed in Timers::Cleanup, removing a reported memory leak (refs #9)
* Added generic timer support classChris Wilson2006-11-06