mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-20 03:18:30 +00:00
Make bulk_free() go faster
This commit is contained in:
parent
624573207e
commit
c8e10eef30
13 changed files with 54 additions and 36 deletions
|
@ -88,7 +88,7 @@ wontreturn void pthread_exit(void *rc) {
|
|||
|
||||
// set state
|
||||
pt->pt_flags |= PT_NOCANCEL | PT_EXITING;
|
||||
pt->pt_rc = rc;
|
||||
pt->pt_val = rc;
|
||||
|
||||
// free resources
|
||||
__cxa_thread_finalize();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue