interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / vendor / libc / src / new / uclibc / pthread.rs

66 lines · 1875 bytes Raw Blame History
1//! Header: `pthread.h`
2//!
3//! Note that The l4re port of uclibc doesn't yet support all `pthread_*` API that is
4//! available upstream.
5
6pub use crate::new::common::linux_like::pthread::{
7 pthread_getaffinity_np,
8 pthread_getattr_np,
9 pthread_setaffinity_np,
10};
11#[cfg(not(target_os = "l4re"))]
12pub use crate::new::common::linux_like::pthread::{
13 pthread_getname_np,
14 pthread_setname_np,
15};
16#[cfg(not(target_os = "l4re"))]
17pub use crate::new::common::posix::pthread::{
18 pthread_atfork,
19 pthread_barrierattr_getpshared,
20 pthread_condattr_getclock,
21 pthread_condattr_setclock,
22 pthread_getcpuclockid,
23 pthread_mutex_consistent,
24 pthread_mutexattr_getprotocol,
25 pthread_mutexattr_getrobust,
26 pthread_mutexattr_setprotocol,
27 pthread_mutexattr_setrobust,
28 pthread_setschedprio,
29};
30pub use crate::new::common::posix::pthread::{
31 pthread_attr_getguardsize,
32 pthread_attr_getinheritsched,
33 pthread_attr_getschedparam,
34 pthread_attr_getschedpolicy,
35 pthread_attr_getstack,
36 pthread_attr_setguardsize,
37 pthread_attr_setinheritsched,
38 pthread_attr_setschedparam,
39 pthread_attr_setschedpolicy,
40 pthread_attr_setstack,
41 pthread_barrier_destroy,
42 pthread_barrier_init,
43 pthread_barrier_wait,
44 pthread_barrierattr_destroy,
45 pthread_barrierattr_init,
46 pthread_barrierattr_setpshared,
47 pthread_cancel,
48 pthread_condattr_getpshared,
49 pthread_condattr_setpshared,
50 pthread_create,
51 pthread_getschedparam,
52 pthread_kill,
53 pthread_mutex_timedlock,
54 pthread_mutexattr_getpshared,
55 pthread_mutexattr_setpshared,
56 pthread_once,
57 pthread_rwlockattr_getpshared,
58 pthread_rwlockattr_setpshared,
59 pthread_setschedparam,
60 pthread_sigmask,
61 pthread_spin_destroy,
62 pthread_spin_init,
63 pthread_spin_lock,
64 pthread_spin_trylock,
65 pthread_spin_unlock,
66};