We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 397f851 + 9192435 commit 19fb98dCopy full SHA for 19fb98d
src/unix/mod.rs
@@ -576,6 +576,9 @@ extern {
576
link_name = "pthread_join$UNIX2003")]
577
pub fn pthread_join(native: ::pthread_t,
578
value: *mut *mut ::c_void) -> ::c_int;
579
+ pub fn pthread_atfork(prepare: Option<unsafe extern fn()>,
580
+ parent: Option<unsafe extern fn()>,
581
+ child: Option<unsafe extern fn()>) -> ::c_int;
582
pub fn pthread_exit(value: *mut ::c_void);
583
pub fn pthread_attr_init(attr: *mut ::pthread_attr_t) -> ::c_int;
584
pub fn pthread_attr_destroy(attr: *mut ::pthread_attr_t) -> ::c_int;
0 commit comments