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.
1 parent 20c1bdc commit 4db7327Copy full SHA for 4db7327
src/unix/redox/mod.rs
@@ -336,6 +336,9 @@ pub const PTHREAD_COND_INITIALIZER: ::pthread_cond_t = -1isize as *mut _;
336
pub const PTHREAD_RWLOCK_INITIALIZER: ::pthread_rwlock_t = -1isize as *mut _;
337
pub const PTHREAD_STACK_MIN : ::size_t = 4096;
338
extern {
339
+ pub fn pthread_atfork(prepare: ::Option<unsafe extern fn()>,
340
+ parent: ::Option<unsafe extern fn()>,
341
+ child: ::Option<unsafe extern fn()>) -> ::c_int;
342
pub fn pthread_create(tid: *mut ::pthread_t,
343
attr: *const ::pthread_attr_t,
344
start: extern fn(*mut ::c_void) -> *mut ::c_void,
0 commit comments