We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pthread_mutex_timedlock
1 parent b474785 commit e42f9f0Copy full SHA for e42f9f0
src/unix/mod.rs
@@ -545,6 +545,8 @@ extern {
545
pub fn pthread_mutex_lock(lock: *mut pthread_mutex_t) -> ::c_int;
546
pub fn pthread_mutex_trylock(lock: *mut pthread_mutex_t) -> ::c_int;
547
pub fn pthread_mutex_unlock(lock: *mut pthread_mutex_t) -> ::c_int;
548
+ pub fn pthread_mutex_timedlock(lock: *mut pthread_mutex_t,
549
+ abstime: *const ::timespec) -> ::c_int;
550
551
pub fn pthread_mutexattr_init(attr: *mut pthread_mutexattr_t) -> ::c_int;
552
#[cfg_attr(all(target_os = "macos", target_arch = "x86"),
0 commit comments