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>
Wed, 2 Oct 2013 03:15:07 +0000 (23:15 -0400)
commit72b40470e081e1fde9511d4a13b38c585807f8b4
tree13bb73511bd02d35b5f05225e31ca9a45e17e11e
parentc69fc9d3a49461d11d7f0f2034f6ef6ae67202bd
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.026928 seconds and 4 git commands to generate.