libc/new/apple/libpthread/pthread_/
pthread_impl.rs

1use crate::prelude::*;
2
3// FIXME(apple): these should all be `pub(crate)`
4pub const _PTHREAD_MUTEX_SIG_init: c_long = 0x32AAABA7;
5
6pub const _PTHREAD_COND_SIG_init: c_long = 0x3CB0B1BB;
7pub(crate) const _PTHREAD_ONCE_SIG_INIT: c_long = 0x30B1BCBA;
8pub const _PTHREAD_RWLOCK_SIG_init: c_long = 0x2DA8B3B4;
9
10pub const SCHED_OTHER: c_int = 1;
11pub const SCHED_FIFO: c_int = 4;
12pub const SCHED_RR: c_int = 2;