Browse Source

Add pthread_atfork

pull/17/head
Ian Chamberlain 3 years ago
parent
commit
8b38f9c7ac
No known key found for this signature in database
GPG Key ID: AE5484D09405AA60
  1. 9
      src/misc.rs

9
src/misc.rs

@ -17,3 +17,12 @@ pub unsafe extern "C" fn pthread_sigmask(
) -> ::libc::c_int { ) -> ::libc::c_int {
-1 -1
} }
#[no_mangle]
pub extern "C" fn pthread_atfork(
_prepare: Option<unsafe extern "C" fn()>,
_parent: Option<unsafe extern "C" fn()>,
_child: Option<unsafe extern "C" fn()>,
) -> libc::c_int {
0
}

Loading…
Cancel
Save