]> git.saurik.com Git - apple/libc.git/blob - pthreads.subproj/pthread_impl.h
Libc-186.tar.gz
[apple/libc.git] / pthreads.subproj / pthread_impl.h
1 #ifndef _PTHREAD_IMPL_H_
2 #define _PTHREAD_IMPL_H_
3 /*
4 * Internal implementation details
5 */
6
7 /* This whole header file will disappear, so don't depend on it... */
8
9 #ifndef __POSIX_LIB__
10
11 /*
12 * [Internal] data structure signatures
13 */
14 #define _PTHREAD_MUTEX_SIG_init 0x32AAABA7
15 #define _PTHREAD_COND_SIG_init 0x3CB0B1BB
16 #define _PTHREAD_ONCE_SIG_init 0x30B1BCBA
17 /*
18 * POSIX scheduling policies
19 */
20 #define SCHED_OTHER 1
21 #define SCHED_FIFO 4
22 #define SCHED_RR 2
23
24 #define __SCHED_PARAM_SIZE__ 4
25
26 #endif /* __POSIX_LIB__ */
27
28 #endif /* _PTHREAD_IMPL_H_ */