]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/application.h
Fix a sign error in ProfilingScope
[libs/core.git] / source / core / application.h
index fa0c9c41bcf42a7923237b21cdcc410233599226..bd433aafcc3fb16dfd0e0d1bc51c435f6bf5adab 100644 (file)
@@ -1,10 +1,11 @@
-/*
+/* $Id$
+
 This file is part of libmspcore
 Copyright © 2006 Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
-#ifndef MSP_FRAMEWORK_APPLICATION_H_
-#define MSP_FRAMEWORK_APPLICATION_H_
+#ifndef MSP_CORE_APPLICATION_H_
+#define MSP_CORE_APPLICATION_H_
 
 #include "semaphore.h"
 
@@ -27,9 +28,10 @@ protected:
                NONE,       /// No main loop - main() will just return
                SLEEP,      /// Only sleep in the main loop - useful for servers
                TICK_SLEEP, /// Call tick every iteration, with a short sleep in between
-               TICK_YIELD  /// Call tick every iteration, with sched_yield in between
+               TICK_YIELD, /// Call tick every iteration, with sched_yield in between
+               TICK_BUSY   /// Call tick every iteration
        };
-       
+
        class RegBase
        {
        public: