diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2009-04-03 10:23:18 +0000 |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2009-04-03 10:23:18 +0000 |
commit | b0b1aa214a97723775abaa042c8290695ff312c3 (patch) | |
tree | e77482fecd6c860dbfbae950fd5deb67be1982b7 | |
parent | 957320a08a8f680735e5f619d9649bca969a10dc (diff) | |
download | cpython-git-b0b1aa214a97723775abaa042c8290695ff312c3.tar.gz |
Added warning about logging use from asynchronous signal handlers.
-rw-r--r-- | Doc/library/logging.rst | 3 |
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 ------------- |