summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2009-04-03 10:23:18 +0000
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2009-04-03 10:23:18 +0000
commitb0b1aa214a97723775abaa042c8290695ff312c3 (patch)
treee77482fecd6c860dbfbae950fd5deb67be1982b7
parent957320a08a8f680735e5f619d9649bca969a10dc (diff)
downloadcpython-git-b0b1aa214a97723775abaa042c8290695ff312c3.tar.gz
Added warning about logging use from asynchronous signal handlers.
-rw-r--r--Doc/library/logging.rst3
1 files changed, 3 insertions, 0 deletions
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
-------------