mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-28 03:43:23 +00:00
Refine mapping-related locks
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
968389f550
commit
e60b5b7649
@ -31,6 +31,7 @@ pub fn do_exit(thread: &Thread, posix_thread: &PosixThread, term_status: TermSta
|
||||
futex_wake(*clear_ctid, 1, None)?;
|
||||
*clear_ctid = 0;
|
||||
}
|
||||
drop(clear_ctid);
|
||||
// exit the robust list: walk the robust list; mark futex words as dead and do futex wake
|
||||
wake_robust_list(posix_thread, tid);
|
||||
|
||||
|
Reference in New Issue
Block a user