This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Python threads under Cygwin


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]