From: Mathieu Desnoyers Date: Thu, 6 Sep 2012 23:09:28 +0000 (-0400) Subject: tls-compat.h: document sigaltstack(2) limitation X-Git-Tag: v0.7.5~3 X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=commitdiff_plain;h=9948a988350a1f6564a724f79cdeb2a294ee82aa tls-compat.h: document sigaltstack(2) limitation Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu/tls-compat.h b/urcu/tls-compat.h index 2f40232..601336b 100644 --- a/urcu/tls-compat.h +++ b/urcu/tls-compat.h @@ -59,6 +59,9 @@ extern "C" { * Example: In any thread, the first call of URCU_TLS(rcu_reader) * is called from rcu_register_thread(), so we can ensure all later * URCU_TLS(rcu_reader) in any thread is async-signal-safe. + * + * Moreover, URCU_TLS variables should not be touched from signal + * handlers setup with with sigaltstack(2). */ # define DECLARE_URCU_TLS(type, name) \