From 9948a988350a1f6564a724f79cdeb2a294ee82aa Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 6 Sep 2012 19:09:28 -0400 Subject: [PATCH] tls-compat.h: document sigaltstack(2) limitation Signed-off-by: Mathieu Desnoyers --- urcu/tls-compat.h | 3 +++ 1 file changed, 3 insertions(+) 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) \ -- 2.34.1