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 05a2d19 commit 9192435Copy full SHA for 9192435
src/unix/mod.rs
@@ -545,6 +545,9 @@ extern {
545
link_name = "pthread_join$UNIX2003")]
546
pub fn pthread_join(native: ::pthread_t,
547
value: *mut *mut ::c_void) -> ::c_int;
548
+ pub fn pthread_atfork(prepare: Option<unsafe extern fn()>,
549
+ parent: Option<unsafe extern fn()>,
550
+ child: Option<unsafe extern fn()>) -> ::c_int;
551
pub fn pthread_exit(value: *mut ::c_void);
552
pub fn pthread_attr_init(attr: *mut ::pthread_attr_t) -> ::c_int;
553
pub fn pthread_attr_destroy(attr: *mut ::pthread_attr_t) -> ::c_int;
0 commit comments