thread module on NetBSD

Donn Cave donn at u.washington.edu
Fri Jul 2 23:17:36 CEST 2004


In article <d71cc7f6.0407021225.1dd50439 at posting.google.com>,
 sandeep182 at hotmail.com (Sandeep Gupta) wrote:

> I've compiled Python 2.3.3 on NetBSD and the thread (and therefore the
> threading) module is not available.
> Am I missing the module because of the way I made the binary?
> I could use the dummy_threading module, but then I'm sure I'd run into
> deadlocks.

NetBSD has finally gotten around to supporting threads, but
you'll have to install 2.0 beta for that.  NetBSD 1.6 does
not implement threads, so they won't be supported in Python
there.  I occasionally use an early 2.0 beta, and it works
pretty well for me, but I don't expect the ports coverage
is very good yet.

Speaking of ports, I see there is a python23-pth-2.3.4nb2,
which might be what you need if GNU pth will serve in place
of real threads.  I assume that's what "pth" refers to, I
have no experience with it (but have used GNU pth on NetBSD.)

   Donn Cave, donn at u.washington.edu



More information about the Python-list mailing list