Fix: compat futex duplicated lock and completion
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 30 Sep 2013 18:54:22 +0000 (14:54 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 30 Sep 2013 18:54:22 +0000 (14:54 -0400)
commit5c02e37d09b7b89f68429751344d2af00c89f4fd
treee21b515b575e270354b9d2fbc79a797f76ee0c8d
parent976720e446de1d3831bc7847b920c397a7ee26b1
Fix: compat futex duplicated lock and completion

compat_futex.c has one instance included in each urcu shared object, as
well as within some of the test applications. However, it is expected
that an entire program interact with the same lock and completion
variables. Therefore, define them as globally visible, but weak, so the
entire program agree on which object should be used.

Reported-by: Vladimir Nikulichev <nvs@tbricks.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
compat_futex.c
This page took 0.027406 seconds and 4 git commands to generate.