mirror of
https://github.com/reactos/syzkaller.git
synced 2024-12-11 05:13:52 +00:00
executor: fix detection of last call
This commit is contained in:
parent
485651138e
commit
6a76998e5e
@ -302,7 +302,7 @@ retry:
|
||||
// Check if any of previous calls have completed.
|
||||
// Give them some additional time, because they could have been
|
||||
// just unblocked by the current call.
|
||||
bool last = read_input(&input_pos, true);
|
||||
bool last = read_input(&input_pos, true) == instr_eof;
|
||||
usleep(last ? 1000 : 100);
|
||||
for (int i = 0; i < kMaxThreads; i++) {
|
||||
th = &threads[i];
|
||||
|
Loading…
Reference in New Issue
Block a user