mirror of
https://github.com/reactos/syzkaller.git
synced 2025-02-13 08:06:14 +00:00
executor: fix collide mode
Don't wait for every other call.
This commit is contained in:
parent
c896644ab8
commit
2fa51b4807
@ -339,7 +339,7 @@ retry:
|
|||||||
args[i] = 0;
|
args[i] = 0;
|
||||||
thread_t* th = schedule_call(n, call_index++, call_num, num_args, args, input_pos);
|
thread_t* th = schedule_call(n, call_index++, call_num, num_args, args, input_pos);
|
||||||
|
|
||||||
if (collide && (n % 2)) {
|
if (collide && (call_index % 2) == 0) {
|
||||||
// Don't wait for every other call.
|
// Don't wait for every other call.
|
||||||
// We already have results from the previous execution.
|
// We already have results from the previous execution.
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user