GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||
GeezerVison is showing github.com — gh-131913: multiprocessing: add interrupt for POSIX by pulkin · Pull Request #132453 · python/cpython Conversation
|
|
|
||
| def interrupt(self): | ||
| ''' | ||
| Terminate process; sends SIGINT signal or uses TerminateProcess() |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Does it use TerminateProcess()?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-authored-by: Bénédikt Tran <[email protected]>
Co-authored-by: Bénédikt Tran <[email protected]>
|
🤖 New build scheduled with the buildbot fleet by @gpshead for commit 8109864 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F132453%2Fmerge If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| self.assertEqual(exitcode, 1) | ||
| # exit code 1 is hard-coded for uncaught exceptions | ||
| # (KeyboardInterrupt in this case) | ||
| # in multiprocessing.BaseProcess._bootstrap |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
interesting... but probably went unnoticed because these are wholly multiprocessing managed processes so the exit code reflecting the SIGINT signal was never important there like it is for our main python process which IIRC jumps through hoops to turn KeyboardInterrupt back into a SIGINT exit status.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.