Skip to content

Commit d2ece10

Browse files
joboettgross35
authored andcommitted
add pthread_cond_timedwait_relative_np
1 parent 11f939a commit d2ece10

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

libc-test/semver/apple.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2090,6 +2090,7 @@ pthread_attr_setschedpolicy
20902090
pthread_attr_setscope
20912091
pthread_attr_setstackaddr
20922092
pthread_cancel
2093+
pthread_cond_timedwait_relative_np
20932094
pthread_condattr_getpshared
20942095
pthread_condattr_setpshared
20952096
pthread_cpu_number_np

src/unix/bsd/apple/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5179,6 +5179,11 @@ extern "C" {
51795179
newp: *mut c_void,
51805180
newlen: size_t,
51815181
) -> c_int;
5182+
pub fn pthread_cond_timedwait_relative_np(
5183+
cond: *mut pthread_cond_t,
5184+
lock: *mut pthread_mutex_t,
5185+
timeout: *const crate::timespec,
5186+
) -> c_int;
51825187
pub fn pthread_once(
51835188
once_control: *mut crate::pthread_once_t,
51845189
init_routine: Option<unsafe extern "C" fn()>,

0 commit comments

Comments
 (0)