Clean clear_ctid when thread exits
This commit is contained in:
		
							parent
							
								
									61ce53c67a
								
							
						
					
					
						commit
						8aed759161
					
				| @ -53,6 +53,7 @@ fn exit_thread(term_status: TermStatus) { | ||||
|         } | ||||
|         futex_wake(ctid_ptr.as_ptr() as *const i32, 1); | ||||
|     } | ||||
|     thread.set_clear_ctid(None); | ||||
| 
 | ||||
|     // Notify waiters that the owner of robust futex has died.
 | ||||
|     thread.wake_robust_list(); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user