python 2.3.4-1 on cygwin 1.5.11-1 exits when Thread exits

Dan H wjournkk@hotmail.com
Sat Sep 18 00:28:00 GMT 2004


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/



More information about the Cygwin mailing list