]> git.tdb.fi Git - libs/core.git/blobdiff - source/time/timer.cpp
Win32 compilation fixes
[libs/core.git] / source / time / timer.cpp
index 641d55f03b03a71d4b2a3a41cf04a7824aa56898..3d4aec5ff4a8f6307ceaea732484e8c779b89f10 100644 (file)
@@ -3,7 +3,6 @@ This file is part of libmspframework
 Copyright © 2006  Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
-#include <signal.h>
 #include "timer.h"
 #include "utils.h"
 
@@ -91,7 +90,7 @@ void Timer::Thread::main()
                        }
                }
                else
-                       pause();
+                       sem.wait();
        }
 }