Discourage use of pthread_atfork() for call_rcu handlers Discourage use of glibc pthread_atfork() for call_rcu handlers due to its inappropriate assumptions about single-threadedness while pthread atfork handlers are executing. This results in hangs within the glibc memory allocator. Reviewed-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fix TLS detection: test with linker, add --disable-compiler-tls NetBSD 5.1 and older, as well as Darwin, succeed to compile code containing TLS, but cannot link it. Test with linker in addition to compiler for TLS support. Also add a --disable-compiler-tls configure option to allow users to force using the pthread getspecific fall back. Fixes #288 Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>