blob: 68b0c581b3a0b3488379c27252e67bd9c0ca98e1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#ifndef DEF_THREAD_IFACE_H
#define DEF_THREAD_IFACE_H
#define THIF_OBJTYPE 0x21
//S = static, GET = get, C = current, TH = thread
#define THIF_SGETCTH 0 //Get current thread (R) | no arguments
#define THIF_SLEEP 0x01 //Make thread sleep (v) | i:time in msecs
#define THIF_FINISH 0x02 //Make thread finish (v) | i:return_value
#endif
|