-
Cyrill Gorcunov authored
In commit 71cc2733 I occasionally dropped the ability to abort on waiting (because we used signed -1 value to inform waiters that something is wrong and waiting should be aborted, but the type was changed to unsigned one and as result this condition never triggers). So to resolve it futex_abort_and_wake() is added and should be used explicitly where appropriate instead if signess hack. Reported-by:
Andrew Vagin <avagin@parallels.com> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Andrew Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
d7961998