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:14:15 +0000 (23:14 -0400)
commit98cb480ab03a919370504eb71642ec3e61ae5d7c
treee21b515b575e270354b9d2fbc79a797f76ee0c8d
parentb32a8ffa52705c88952e9fc2cb663fd423a953c8
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.025287 seconds and 4 git commands to generate.