delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
From: | jurgen DOT defurne AT philips DOT com |
To: | <python-list AT python DOT org>, <cygwin AT sourceware DOT cygnus DOT com> |
Subject: | Python threads under Cygwin |
Message-ID: | <0056900012996413000002L032*@MHS> |
Date: | Tue, 17 Oct 2000 15:48:27 +0200 |
MIME-Version: | 1.0 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id JAA19863 |
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 AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |