30 May
2002
30 May
'02
4:35 p.m.
I'm not sure either, but I have convinced myself that signal mask handling is just buggered on BSD when the program is compiled in a multi-threaded style (as, in simple C programs don't do what you (well, I) would expect). Note this isn't about actually using threads -- just using "cc -pthreads".
Now what do I do? Back my patch out? Not expose the functions on BSD? It works on Linux...
Add a configure check for the desired behavior and enable the changes only when the system behaves correctly. --Guido van Rossum (home page: http://www.python.org/~guido/)