Gregory P. Smith added the comment:
If we do this, I think we should aim for the complete solution on the most
common posix platforms (Linux and MacOS) as C/C++ extensions are just as happy
to create threads these days. (but if you want to start with a simple python
threads only warning, i'm
Antoine Pitrou added the comment:
Yeah... We might replicate the psutil source code doing that. On Linux, it
involves parsing /proc/{pid}/status (which may not be available on some
restricted execution environments?). Haven't looked what it does on macOS.
--
nosy: +giampaolo.rodola
New submission from Antoine Pitrou :
I'm not sure this is worth handling, but I had an interaction with a user who
had weird deadlock problems in a glibc function (getaddrinfo) in worker
processes launched with the forkserver method.
The explanation turned out to be that a sitecustomize.py did