summaryrefslogtreecommitdiff
path: root/src/threads/_enums.h
blob: a8a1684966d816d494061598821246911b18efb7 (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 {
	thrd_success	= 0,
	thrd_busy	= 1,
	thrd_error	= 2,
	thrd_nomem	= 3,
	thrd_timedout	= 4,
};
/*
STDC(201112)
*/