3 * - By John Hodge (thePowersGang)
17 //! Fired when a VFS wait is ready [used in select(2)]
18 #define THREAD_EVENT_VFS 0x00000001
19 //! Fired when an IPC Message arrives
20 #define THREAD_EVENT_IPCMSG 0x00000002
21 //! Fired when a signal (e.g. SIGINT) is asserted
22 #define THREAD_EVENT_SIGNAL 0x00000004
24 #define THREAD_EVENT_TIMER 0x00000008
25 //! General purpose event for short waits
26 //! e.g. waiting for an IRQ in a Read() call
27 #define THREAD_EVENT_SHORTWAIT 0x00000010
28 //! Fired when a child process quits
29 #define THREAD_EVENT_DEADCHILD 0x00000020
31 #define THREAD_EVENT_USER1 0x10000000
32 #define THREAD_EVENT_USER2 0x20000000
33 #define THREAD_EVENT_USER3 0x40000000
34 #define THREAD_EVENT_USER4 0x80000000
40 extern void Threads_PostEvent(tThread *Thread, Uint32 EventMask);
41 extern void Threads_ClearEvent(Uint32 EventMask);
42 extern Uint32 Threads_WaitEvents(Uint32 EventMask);