I can't help you with Linux, but it may help to use the latest thread
code, which may be more appropriate to use than a patch posted a long
time ago. I've hastily packaged it up and put it on ftp.cwi.nl in
pub/python/threads.tar.gz. Let me know if this works or not...
--Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>
<URL:http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>