diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-02-25 22:58:21 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-02-26 21:07:13 +0000 |
commit | 668afe52887a164ee6a12fd1c898bc1c9086cf3e (patch) | |
tree | c15a6a5d7eea948bb223157b9cc0b9d3eec60a16 /scripts | |
parent | 386b71eb9de6610107bf3cbc523b9a68243c6213 (diff) |
tests/sw_sync: Fix race condition for multi-producer termination
Both the producer/consumer were using a timeout, relying on the consumer
completing after the producers -- which 50% of the time doesn't happen.
Close the timelines (previously leaked!) to cancel the producer threads.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions