Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: , Subject: Python threads under Cygwin Message-ID: <0056900012996413000002L032*@MHS> Date: Tue, 17 Oct 2000 15:48:27 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; name="MEMO 10/17/00 15:40:15" Content-Disposition: inline Content-Transfer-Encoding: 8bit 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