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