Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
353a85f9
Commit
353a85f9
authored
Apr 03, 2009
by
Vinay Sajip
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarified warning about logging use from asynchronous signal handlers.
parent
a178a698
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
Doc/library/logging.rst
Doc/library/logging.rst
+4
-3
No files found.
Doc/library/logging.rst
View file @
353a85f9
...
...
@@ -2351,9 +2351,10 @@ 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.
If you are implementing asynchronous signal handlers using the :mod:`signal`
module, you may not be able to use logging from within such handlers. This is
because lock implementations in the :mod:`threading` module are not always
re-entrant, and so cannot be invoked from such signal handlers.
Configuration
-------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment