On Wed, Mar 23, 2011 at 11:36:35AM -0700, Paul E. McKenney wrote: > Hello! > > The following pair of patches permits a single executable to use > multiple flavors of URCU without resorting to linker tricks. The > approach is to map each flavor to a different namespace. The patches > are as follows: > > 1. Provide pthread_atfork-friendly interfaces. > 2. Map symbols to allow multiple flavors of URCU to be mixed. > > This does not yet centralize pthread_atfork() handling, nor does it > yet map defer_rcu() and friends.
Also, after this is complete, it should be possible to put all of the URCU flavors into a single .so file, which should simplify building applications that use URCU. > Thoughts? > > Thanx, Paul > > a/urcu-call-rcu.c | 620 > ------------------------------------------------- > b/Makefile.am | 3 > b/README | 4 > b/tests/Makefile.am | 33 +- > b/tests/rcutorture.h | 1 > b/tests/urcutorture.c | 13 - > b/urcu-bp.c | 4 > b/urcu-bp.h | 8 > b/urcu-call-rcu-impl.h | 618 > ++++++++++++++++++++++++++++++++++++++++++++++++ > b/urcu-call-rcu.c | 29 ++ > b/urcu-qsbr.c | 36 +- > b/urcu-qsbr.h | 18 - > b/urcu.c | 5 > b/urcu.h | 20 + > 14 files changed, 736 insertions(+), 676 deletions(-) _______________________________________________ ltt-dev mailing list [email protected] http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
