Uncomment pthread_atfork stub to get ion to build

This commit is contained in:
jD91mZM2
2019-06-16 14:34:14 +02:00
parent 651d38300a
commit e929538098
+5 -2
View File
@@ -450,13 +450,16 @@ pub extern "C" fn pread(fildes: c_int, buf: *mut c_void, nbyte: size_t, offset:
res
}
// #[no_mangle]
#[no_mangle]
pub extern "C" fn pthread_atfork(
prepare: Option<extern "C" fn()>,
parent: Option<extern "C" fn()>,
child: Option<extern "C" fn()>,
) -> c_int {
unimplemented!();
// TODO: WIP implementation available in "atfork" branch. It's
// segfaulting at the thread-local stuff, both in Unix and Redox.
// unimplemented!();
0
}
#[no_mangle]