37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# include <exec/semaphores.h>
typedef struct {
struct Task *task;
void (*function)(id);
id object;
struct SignalSemaphore semaphore;
struct Task *joinTask;
uint8_t joinSigBit;
bool detached, done;
} *of_thread_t;
#endif
typedef struct of_thread_attr_t {
float priority;
size_t stackSize;
|
|
|
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# include <exec/semaphores.h>
typedef struct {
struct Task *task;
void (*function)(id);
id object;
struct SignalSemaphore semaphore;
struct Task *joinTask;
unsigned char joinSigBit;
bool detached, done;
} *of_thread_t;
#endif
typedef struct of_thread_attr_t {
float priority;
size_t stackSize;
|