Message132304
| Author |
pitrou |
| Recipients |
Arfrever, Trundle, dmalcolm, lemburg, pitrou, scott.dial, vstinner |
| Date |
2011年03月27日.10:22:35 |
| SpamBayes Score |
0.0040017907 |
| Marked as misclassified |
No |
| Message-id |
<1301221355.91.0.252046240463.issue11393@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I have pushed a new branch "faulthandler-thread" in http://hg.python.org/features/faulthandler/. It contains an implementation of dump_tracebacks_later() using a watchdog thread, instead of alarm().
It has two advantages:
- it works under Windows
- it won't disrupt use of alarm() or SIGALRM by user code (including the test suite)
It has one drawback: you can only display all threads, since the watchdog thread is not a Python thread.
I haven't fixed the tests for it, I'm waiting for Victor's changes first ;) |
|