[Python-bugs-list] [ python-Bugs-579116 ] pthread_exit missing in thread_pthread.h

noreply@sourceforge.net noreply@sourceforge.net
Tue, 09 Jul 2002 06:45:26 -0700


Bugs item #579116, was opened at 2002-07-09 15:45
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=579116&group_id=5470

Category: Threads
Group: Python 2.2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Pronath (micpro)
Assigned to: Nobody/Anonymous (nobody)
Summary: pthread_exit missing in thread_pthread.h

Initial Comment:

I'm using the Python 2.2.1 interpreter for scripting
language in a larger program. When I used the threading
module to create new threads, my main program did not
exit anymore, but hang, because one python thread
always remained.
It got much better when I inserted a call to
pthread_exit into do_PyThread_exit_thread
(thread_pthread.h).

Patchfile is attached.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=579116&group_id=5470