Skip to content
Commit a2780c61 authored by Andrew Vagin's avatar Andrew Vagin Committed by Pavel Emelyanov
Browse files

lock: futex() with timeout isn't restarted after signals (v2)



It returns EINTR, so we need to handle it.

$ bash test/zdtm.sh --restore-sibling ns/static/env00
...
futex(0x7fc20ec92010, FUTEX_WAIT, 1, {120, 0}) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 8f36b7af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment