diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/coroutines.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/common/coroutines.h b/common/coroutines.h index 3b8b1a77f9..64eabbf8f4 100644 --- a/common/coroutines.h +++ b/common/coroutines.h @@ -328,6 +328,18 @@ public: typedef void (*VFPTRPP)(PROCESS *); private: + friend class Singleton<CoroutineScheduler>; + + /** + * Constructor + */ + CoroutineScheduler(); + + /** + * Destructor + */ + ~CoroutineScheduler(); + /** list of all processes */ PROCESS *processList; @@ -369,16 +381,6 @@ private: EVENT *getEvent(uint32 pid); public: /** - * Constructor - */ - CoroutineScheduler(); - - /** - * Destructor - */ - ~CoroutineScheduler(); - - /** * Kills all processes and places them on the free list. */ void reset(); |