Get pcid to work using this pthread impl.
This commit is contained in:
@@ -275,7 +275,6 @@ pub unsafe extern "C" fn exit(status: c_int) {
|
||||
static __fini_array_start: extern "C" fn();
|
||||
static __fini_array_end: extern "C" fn();
|
||||
|
||||
fn pthread_terminate();
|
||||
fn _fini();
|
||||
}
|
||||
|
||||
@@ -297,7 +296,7 @@ pub unsafe extern "C" fn exit(status: c_int) {
|
||||
|
||||
ld_so::fini();
|
||||
|
||||
pthread_terminate();
|
||||
crate::pthread::terminate_from_main_thread();
|
||||
|
||||
flush_io_streams();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user