[lttng-dev] Horrible hack to make C++ link to liburcu

2016-03-04 Thread Paul E. McKenney
Hello! Still working with the C++ standards committee to add RCU to C++, and of course one step on that path is to make C++ programs build against liburcu. The following hack-patch makes this work by disabling C++ access to wfcqueue and by making C++ see the rcu_head ->next field as a void *. Th

Re: [lttng-dev] Horrible hack to make C++ link to liburcu

2016-03-05 Thread Mathieu Desnoyers
- On Mar 4, 2016, at 3:32 PM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: > Hello! > > Still working with the C++ standards committee to add RCU to C++, and > of course one step on that path is to make C++ programs build against > liburcu. The following hack-patch makes this work by

Re: [lttng-dev] Horrible hack to make C++ link to liburcu

2016-03-07 Thread Mathieu Desnoyers
- On Mar 5, 2016, at 10:10 AM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: > - On Mar 4, 2016, at 3:32 PM, Paul E. McKenney paul...@linux.vnet.ibm.com > wrote: > >> Hello! >> >> Still working with the C++ standards committee to add RCU to C++, and >> of course one step on th