summaryrefslogtreecommitdiff
path: root/src/threads/_enums.c
blob: 614512876e5d8ad52e88db5173eb9c1ad93a3df2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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,
};