]> git.lttng.org Git - urcu.git/commit
wfcqueue: add C++ compatibility API
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 8 Mar 2016 00:24:20 +0000 (19:24 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 8 Mar 2016 17:19:50 +0000 (12:19 -0500)
commit0d9bfa07ac4ffe5616cf83d3a56e45d0c1f2ce3f
tree62828d1b4b34df8db2104a2a5757a7c5c8e5198f
parent154e995922f36f7e4b4bdb0ca820727ad34d84a1
wfcqueue: add C++ compatibility API

Introduce __cds_wfcq_head_cast and cds_wfcq_head_cast for compability
of wfcqueue with c++. Those are effect-less in C, where transparent
unions are supported. However, in C++, those transform struct
cds_wfcq_head and struct __cds_wfcq_head pointers to
cds_wfcq_head_ptr_t.

Reviewed-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu/static/wfcqueue.h
urcu/wfcqueue.h
This page took 0.032259 seconds and 4 git commands to generate.