Refactor: Move destroying mmap data into process_exit instead of thread
This commit is contained in:
@@ -401,10 +401,6 @@ thread_exit (void)
|
||||
process_exit ();
|
||||
#endif
|
||||
|
||||
#ifdef VM
|
||||
mmap_destroy ();
|
||||
#endif
|
||||
|
||||
/* Remove thread from all threads list, set our status to dying,
|
||||
and schedule another process. That process will destroy us
|
||||
when it calls thread_schedule_tail(). */
|
||||
|
||||
Reference in New Issue
Block a user