Skip to content

Commit

Permalink
remove unnnessesary sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
Toru3 committed Jan 3, 2024
1 parent 599aa53 commit c174bd2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/sys/test_signal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ fn test_sigsuspend() {

raise(SIGNAL).expect("expect be able to send signal");
assert!(!SENDED_SIGNAL.swap(true, Ordering::SeqCst));
thread::sleep(std::time::Duration::from_millis(10));
// Now `SIGNAL` was sended but it is blocked.
let mut not_wait_set = SigSet::all();
not_wait_set.remove(SIGNAL);
Expand Down

0 comments on commit c174bd2

Please sign in to comment.