Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/blob/main/vendor/libc/src/new/musl/pthread.rs # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / vendor / libc / src / new / musl / pthread.rs` 62 lines ยท 1750 bytes Raw Blame History 1 //! Header: `pthread.h` 2 //! 3 //! 4 5 pub use crate::new::common::linux_like::pthread::{ 6 pthread_getaffinity_np, 7 pthread_getattr_np, 8 pthread_getname_np, 9 pthread_setaffinity_np, 10 pthread_setname_np, 11 }; 12 pub use crate::new::common::posix::pthread::{ 13 pthread_atfork, 14 pthread_attr_getguardsize, 15 pthread_attr_getinheritsched, 16 pthread_attr_getschedparam, 17 pthread_attr_getschedpolicy, 18 pthread_attr_getstack, 19 pthread_attr_setguardsize, 20 pthread_attr_setinheritsched, 21 pthread_attr_setschedparam, 22 pthread_attr_setschedpolicy, 23 pthread_attr_setstack, 24 pthread_barrier_destroy, 25 pthread_barrier_init, 26 pthread_barrier_wait, 27 pthread_barrierattr_destroy, 28 pthread_barrierattr_getpshared, 29 pthread_barrierattr_init, 30 pthread_barrierattr_setpshared, 31 pthread_condattr_getclock, 32 pthread_condattr_getpshared, 33 pthread_condattr_setclock, 34 pthread_condattr_setpshared, 35 pthread_create, 36 pthread_getcpuclockid, 37 pthread_getschedparam, 38 pthread_kill, 39 pthread_mutex_timedlock, 40 pthread_mutexattr_getprotocol, 41 pthread_mutexattr_getpshared, 42 pthread_mutexattr_setprotocol, 43 pthread_mutexattr_setpshared, 44 pthread_once, 45 pthread_rwlockattr_getpshared, 46 pthread_rwlockattr_setpshared, 47 pthread_setschedparam, 48 pthread_setschedprio, 49 pthread_sigmask, 50 pthread_spin_destroy, 51 pthread_spin_init, 52 pthread_spin_lock, 53 pthread_spin_trylock, 54 pthread_spin_unlock, 55 }; 56 #[cfg(not(target_env = "ohos"))] 57 pub use crate::new::common::posix::pthread::{ 58 pthread_cancel, 59 pthread_mutex_consistent, 60 pthread_mutexattr_getrobust, 61 pthread_mutexattr_setrobust, 62 };