Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions libc-test/semver/apple.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2090,6 +2090,7 @@ pthread_attr_setschedpolicy
pthread_attr_setscope
pthread_attr_setstackaddr
pthread_cancel
pthread_cond_timedwait_relative_np
pthread_condattr_getpshared
pthread_condattr_setpshared
pthread_cpu_number_np
Expand Down
5 changes: 5 additions & 0 deletions src/unix/bsd/apple/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5179,6 +5179,11 @@ extern "C" {
newp: *mut c_void,
newlen: size_t,
) -> c_int;
pub fn pthread_cond_timedwait_relative_np(
cond: *mut pthread_cond_t,
lock: *mut pthread_mutex_t,
timeout: *const crate::timespec,
) -> c_int;
pub fn pthread_once(
once_control: *mut crate::pthread_once_t,
init_routine: Option<unsafe extern "C" fn()>,
Expand Down