This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Python threads under Cygwin
- To: <python-list at python dot org>, <cygwin at sourceware dot cygnus dot com>
- Subject: Python threads under Cygwin
- From: jurgen dot defurne at philips dot com
- Date: Tue, 17 Oct 2000 15:48:27 +0200
I do not know of any one has done or needed this :
I run Python under Cygwin. The standard Cygwin thread support
doesn't provide the features necessary to compile Python with
thread support.
Yesterday, when trying to build the Jabber server, I stumbled upon
GNU Pth (the portable thread library). This compiles out of the box
under Cygwin, and configuring with --enable-pthread gives
pthread support. I install this with the standard prefix /usr/local.
Configuring Python 1.5.2 with thread support is easy,
in Modules/Setup thread, modify the line 'thread' to
thread threadmodule.c -lpthread -lpth
Then 'make' Python. The library passes the regression tests.
Jurgen
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com