Message290715
| Author | terry.reedy |
|---|---|
| Recipients | Mark, eryksun, terry.reedy |
| Date | 2017-03-28.13:37:50 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1490708270.92.0.433700455941.issue29926@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Eryk, would the addition go before or after "trip_signal(SIGINT);" I posted "Issue with _thread.interrupt_main (29926)" on pydev list. Steven D'Aprano verified delayed response on *nix. Martin Panter said "Looking at the implementation, _thread.interrupt_main just calls PyErr_SetInterrupt. It doesn’t appear to send a signal. I played with “strace” and couldn’t see any evidence of a signal. I guess it just sets a flag that will be polled. To actually interrupt the “sleep” call, you might need to use “pthread_kill” or similar (at least on Unix)." |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-03-28 13:37:50 | terry.reedy | set | recipients: + terry.reedy, Mark, eryksun |
| 2017-03-28 13:37:50 | terry.reedy | set | messageid: <1490708270.92.0.433700455941.issue29926@psf.upfronthosting.co.za> |
| 2017-03-28 13:37:50 | terry.reedy | link | issue29926 messages |
| 2017-03-28 13:37:50 | terry.reedy | create | |