[issue36601] signals can be caught by any thread

Guido van Rossum report at bugs.python.org
Fri Apr 12 12:35:03 EDT 2019


Guido van Rossum <guido at python.org> added the comment:

IIRC in SGI, getpid() would return the thread ID. They had a syscall that could create a new subprocess that would share or not share various resources (e.g. memory, signals, file descriptors) so by setting or clearing bits you could implement a continuum of variations between fork and thread creation (for thread creation you'd share everything). Maybe a similar thing exists in Linux? But IRIX is dead so I think it's safe to kill.

----------
nosy: +gvanrossum

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36601>
_______________________________________


More information about the Python-bugs-list mailing list