]> git.tdb.fi Git - libs/core.git/commit
Fix Timer to use is Semaphore correctly
authorMikko Rasa <tdb@tdb.fi>
Sat, 20 Apr 2013 14:47:50 +0000 (17:47 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 20 Apr 2013 14:47:50 +0000 (17:47 +0300)
commitaad3371b3d1831dd0525a51e40f637f00be6ff87
tree402f8d24f4784a8ea496a05ed0b1ec781d478fff
parent8db2c378e1d006afb792d829857e866541bf81a5
Fix Timer to use is Semaphore correctly

Besides still assuming the old condvar-style semantics, it was also
horribly broken and contained potential deadlocks and race conditions.
Not to mention unusable due to a missing constructor.
source/time/timer.cpp
source/time/timer.h