Add SA_RESTART flag to signal handler
[urcu.git] / README
diff --git a/README b/README
index 71cf729598bd8e5e9223246a3b5562bbaa017dd5..2fae654de9a0aac1bf4e5ea83eebb70656757283 100644 (file)
--- a/README
+++ b/README
@@ -29,6 +29,14 @@ Writing
        After, synchronize_rcu() must be called. When it returns, the old
        values are not in usage anymore.
 
        After, synchronize_rcu() must be called. When it returns, the old
        values are not in usage anymore.
 
+Being careful with signals
+
+       The library uses signals internally. The signal handler is
+       registered with the SA_RESTART flag. However, these signals may cause
+       some non-restartable system calls to fail with errno = EINTR. Care
+       should be taken to restart system calls manually if they fail with this
+       error. A list of non-restartable system calls may be found in
+       signal(7).
 
 Usage of DEBUG_FULL_MB
 
 
 Usage of DEBUG_FULL_MB
 
This page took 0.023813 seconds and 4 git commands to generate.