Skip to content

Commit c174bd2

Browse files
committed
remove unnnessesary sleep
1 parent 599aa53 commit c174bd2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

test/sys/test_signal.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ fn test_sigsuspend() {
125125

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

0 commit comments

Comments
 (0)