diff options
| author | Davidlohr Bueso <[email protected]> | 2015-05-08 11:38:00 -0700 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-05-08 16:24:02 -0300 |
| commit | 598adc5c9c1cfd3f154f6d9df72b38eda63e306e (patch) | |
| tree | 8ae8c800e928e875065ef452541a45e201da32c4 /tools/perf/scripts/python | |
| parent | d65817b4e707068c2dd3e002e87c2a0294aabc2c (diff) | |
perf bench futex: Handle spurious wakeups
Wrap futex_wait around a loop and catch for EINTR.
Either a spurious wakeup occurred or a signal interrupted is, either way
we need to block again.
Signed-off-by: Davidlohr Bueso <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions