Skip to content

Commit 2454a3e

Browse files
committed
Add pthread_condattr_setclock
1 parent 4db7327 commit 2454a3e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/unix/redox/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,10 @@ extern {
343343
attr: *const ::pthread_attr_t,
344344
start: extern fn(*mut ::c_void) -> *mut ::c_void,
345345
arg: *mut ::c_void) -> ::c_int;
346+
// TODO: relibc {
347+
pub fn pthread_condattr_setclock(attr: *mut pthread_condattr_t,
348+
clock_id: ::clockid_t) -> ::c_int;
349+
// }
346350
}
347351

348352
// signal.h

0 commit comments

Comments
 (0)