[Python-Dev] Signals, threads, blocking C functions (original) (raw)
Michael Hudson mwh at python.net
Mon Sep 4 15:30:41 CEST 2006
- Previous message: [Python-Dev] Signals, threads, blocking C functions
- Next message: [Python-Dev] Signals, threads, blocking C functions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Gustavo Carneiro" <gjcarneiro at gmail.com> writes:
According to [1], all python needs to do to avoid this problem is block all signals in all but the main thread;
Argh, no: then people who call system() from non-main threads end up running subprocesses with all signals masked, which breaks other things in very mysterious ways. Been there...
No time to read the rest of the post, maybe in a few days...
Cheers, mwh
-- Arrrrgh, the braindamage! It's not unlike the massively non-brilliant decision to use the period in abbreviations as well as a sentence terminator. Had these people no imagination at all? -- Erik Naggum, comp.lang.lisp
- Previous message: [Python-Dev] Signals, threads, blocking C functions
- Next message: [Python-Dev] Signals, threads, blocking C functions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]