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
defe6f61
Commit
defe6f61
authored
Jun 19, 2011
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clarify
parent
85198753
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
Doc/library/faulthandler.rst
Doc/library/faulthandler.rst
+6
-6
No files found.
Doc/library/faulthandler.rst
View file @
defe6f61
...
...
@@ -43,9 +43,8 @@ Dump the traceback
.. function:: dump_traceback(file=sys.stderr, all_threads=True)
Dump the traceback of all threads into *file*. If *all_threads* is ``True``,
produce tracebacks for every running thread. Otherwise, dump only the current
thread.
Dump the tracebacks of all threads into *file*. If *all_threads* is
``False``, dump only the current thread.
Fault handler state
...
...
@@ -77,9 +76,10 @@ Dump the tracebacks after a timeout
Dump the tracebacks of all threads, after a timeout of *timeout* seconds, or
every *timeout* seconds if *repeat* is ``True``. If *exit* is ``True``, call
:c:func:`_exit` with status=1 after dumping the tracebacks. (Note
:c:func:`_exit` doesn't flush file buffers.) If the function is called twice,
the new call replaces previous parameters and resets the timeout. The timer
has a sub-second resolution.
:c:func:`_exit` exits the process immediately, which means it doesn't do any
cleanup like flushing file buffers.) If the function is called twice, the new
call replaces previous parameters and resets the timeout. The timer has a
sub-second resolution.
This function is implemented using a watchdog thread and therefore is not
available if Python is compiled with threads disabled.
...
...
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