Get pcid to work using this pthread impl.

This commit is contained in:
4lDO2
2023-04-09 11:30:25 +02:00
parent 6a658bc33d
commit b9f19f4326
31 changed files with 623 additions and 373 deletions
+1 -2
View File
@@ -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();