|
@@ -135,14 +135,11 @@ impl ProcessList {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if let Some(clear_ctid) = thread.get_clear_ctid() {
|
|
if let Some(clear_ctid) = thread.get_clear_ctid() {
|
|
|
- UserPointerMut::new(clear_ctid as *mut u32)
|
|
|
|
|
|
|
+ let _ = UserPointerMut::new(clear_ctid as *mut u32)
|
|
|
.unwrap()
|
|
.unwrap()
|
|
|
- .write(0u32)
|
|
|
|
|
- .expect("should clear child tid successfully");
|
|
|
|
|
|
|
+ .write(0u32);
|
|
|
|
|
|
|
|
- futex_wake(clear_ctid, None, 1)
|
|
|
|
|
- .await
|
|
|
|
|
- .expect("should wake up child tid");
|
|
|
|
|
|
|
+ let _ = futex_wake(clear_ctid, None, 1).await;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// main thread exit
|
|
// main thread exit
|