Kernel - (minor) Debug changes in x86_64
[tpg/acess2.git] / KernelLand / Kernel / include / events.h
1 /*
2  * Acess2 Kernel
3  * - By John Hodge (thePowersGang)
4  *
5  * events.h
6  * - Thread Events
7  */
8 #ifndef _EVENTS_H_
9 #define _EVENTS_H_
10
11 #include <threads.h>
12
13 #define THREAD_EVENT_VFS        0x00000001
14 #define THREAD_EVENT_IPCMSG     0x00000002
15 #define THREAD_EVENT_SIGNAL     0x00000004
16 #define THREAD_EVENT_TIMER      0x00000008
17 #define THREAD_EVENT_SHORTWAIT  0x00000010
18
19 // === FUNCTIONS ===
20 extern void     Threads_PostEvent(tThread *Thread, Uint32 EventMask);
21 extern void     Threads_ClearEvent(Uint32 EventMask);
22 extern Uint32   Threads_WaitEvents(Uint32 EventMask);
23
24 #endif
25

UCC git Repository :: git.ucc.asn.au