Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Originating-IP: [63.102.70.70] X-Originating-Email: [wjournkk AT hotmail DOT com] X-Sender: wjournkk AT hotmail DOT com From: "Dan H" To: cygwin AT cygwin DOT com Subject: python 2.3.4-1 on cygwin 1.5.11-1 exits when Thread exits Date: Sat, 18 Sep 2004 00:17:12 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 18 Sep 2004 00:17:13.0355 (UTC) FILETIME=[D8B035B0:01C49D14] Whenever any of my python threads exits, python exits, too (regardless of the main thread, for example). See below for details. How can I fix this? Transcript of a python session on cygwin 1.5.11-1: % python2.3 Python 2.3.4 (#1, Jun 13 2004, 11:21:03) [GCC 3.3.1 (cygming special)] on cygwin Type "help", "copyright", "credits" or "license" for more information. >>>from threading import Thread >>>t = Thread() >>>t.start() >>>% i.e. when thread t exited, so did python. Doing the same thing on Linux, python does not exit: % uname -srm Linux 2.6.6-1-386 i686 % python2.3 Python 2.3.4 (#2, Jul 5 2004, 09:15:05) [GCC 3.3.4 (Debian 1:3.3.4-2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>>from threading import Thread >>>t = Thread() >>>t.start() >>>print "foo" foo >>> _________________________________________________________________ On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/