From b0b1aa214a97723775abaa042c8290695ff312c3 Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Fri, 3 Apr 2009 10:23:18 +0000 Subject: [PATCH] Added warning about logging use from asynchronous signal handlers. --- Doc/library/logging.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index 8226661856..2a21d28b6e 100644 --- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -2351,6 +2351,9 @@ needing to be done by its clients. It achieves this though using threading locks; there is one lock to serialize access to the module's shared data, and each handler also creates a lock to serialize access to its underlying I/O. +Note that in Linux/Unix environments, threading APIs may not be usable in +asynchronous signal handlers. This may mean that you cannot use logging from +within asynchronous signal handlers; please check your OS documentation. Configuration ------------- -- 2.50.1