Skip to content
Snippets Groups Projects
Verified Commit e9295380 authored by jD91mZM2's avatar jD91mZM2
Browse files

Uncomment pthread_atfork stub to get ion to build

parent 651d3830
No related branches found
No related tags found
No related merge requests found
......@@ -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]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment