Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test/interrupt: account for race with callback
[ upstream commit 73afc9d ] Because the eal interrupt framework can race when invoking the callback and a separate unregister call, the test needs to accommodate the chance that the two collide. Do this by checking the return value of unregister against the race-condition flag (EAGAIN). Fixes: f1a6c22 ("app/test: update interrupts test") Signed-off-by: Aaron Conole <aconole@redhat.com> Reviewed-by: David Marchand <david.marchand@redhat.com>
- Loading branch information