summaryrefslogtreecommitdiff
path: root/src/threads/_enums.c
blob: 6e099b0f4f466189a6cf3bf89ca1ef7cf7437d01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
enum {
	mtx_plain	= 1 << 0,
	mtx_recursive	= 1 << 1,
	mtx_timed	= 1 << 2,
};

enum {
	mtx_timedout	= 1 << 3
};

enum {
	thrd_success	= 0,
	thrd_busy	= 1,
	thrd_error	= 2,
	thrd_nomem	= 3,
};