[Python-checkins] r71094 - python/trunk/Doc/library/logging.rst
vinay.sajip
python-checkins at python.org
Fri Apr 3 12:23:18 CEST 2009
Author: vinay.sajip
Date: Fri Apr 3 12:23:18 2009
New Revision: 71094
Log:
Added warning about logging use from asynchronous signal handlers.
Modified:
python/trunk/Doc/library/logging.rst
Modified: python/trunk/Doc/library/logging.rst
==============================================================================
--- python/trunk/Doc/library/logging.rst (original)
+++ python/trunk/Doc/library/logging.rst Fri Apr 3 12:23:18 2009
@@ -2351,6 +2351,9 @@
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
-------------
More information about the Python-checkins
mailing list