2 * psychlops_app_thread.h
3 * Psychlops Standard Library (Universal)
5 * Last Modified 208/09/22 by Kenchi HOSOKAWA
6 * (C) 2008 Kenchi HOSOKAWA, Kazushi MARUYA, Takao SATO
9 #ifndef HEADER_PSYCHLOPS_APP_THREAD
10 #define HEADER_PSYCHLOPS_APP_THREAD
22 enum Priority { HIGH=0, NORMAL, LOW, IDLE, SLEEP };
25 Thread(void (*func)());
27 virtual void create(void (*func)());
29 static void sleep(int microsec);
30 static Priority priority();
31 static void priority(Priority p);
36 } /* <- namespace Psychlops */