From: Mathieu Desnoyers Date: Mon, 6 Jul 2015 21:28:34 +0000 (-0400) Subject: Fix: handle sys_futex() FUTEX_WAIT interrupted by signal X-Git-Tag: v2.7.0-rc1~10 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=549731b7fc86d6dfb63f1cbd03991f59567f96ba;hp=549731b7fc86d6dfb63f1cbd03991f59567f96ba Fix: handle sys_futex() FUTEX_WAIT interrupted by signal We need to handle EINTR returned by sys_futex() FUTEX_WAIT, otherwise a signal interrupting this system call could make sys_futex return too early, and therefore cause a synchronization issue. Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau ---