]> git.tdb.fi Git - libs/core.git/blobdiff - source/time/timer.cpp
Throw out anything polling related - they will go to libmspio eventually
[libs/core.git] / source / time / timer.cpp
index 641d55f03b03a71d4b2a3a41cf04a7824aa56898..e716d322c68bad10cad62efc1a8a8600e737bd17 100644 (file)
@@ -1,9 +1,8 @@
 /*
-This file is part of libmspframework     
+This file is part of libmspcore     
 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();
        }
 }