2 GEOS processes (~multitasking) functions
4 ported to small C on 27.10.1999
5 by Maciej 'YTM/Alliance' Witkowiak
12 #include <geos/gstruct.h>
15 void __fastcall__ InitProcesses(char number, struct process *proctab);
16 void __fastcall__ RestartProcess(char number);
17 void __fastcall__ EnableProcess(char number);
18 void __fastcall__ BlockProcess(char number);
19 void __fastcall__ UnBlockProcess(char number);
20 void __fastcall__ FreezeProcess(char number);
21 void __fastcall__ UnFreezeProcess(char number);
23 void __fastcall__ Sleep(int jiffies);
25 /* Process control variable
26 these probably should be removed from here, as they are
27 internal GEOS information which is updated by functions above
36 #define SET_RUNABLE 0x80
37 #define SET_BLOCKED 0x40
38 #define SET_FROZEN 0x20
39 #define SET_NOTIMER 0x10