Re: How should threads be terminated? (related to 'Help with thread related tracebacks')

2005-06-17 Thread Maxwell Hammer
Thanks Brian & Martin for the links. I actually found another good one: http://linuxgazette.net/107/pai.html Cheers. -- http://mail.python.org/mailman/listinfo/python-list

Re: How should threads be terminated? (related to 'Help with thread related tracebacks')

2005-06-17 Thread Maxwell Hammer
On Thu, 16 Jun 2005 16:20:23 -0400, Peter Hansen wrote: > Maxwell Hammer wrote: >> This is related to an earlier post 'Help with thread related >> tracebacks'...for which I have had no feedback yet :-( > > If the question was well formulated, and it's bee

How should threads be terminated? (related to 'Help with thread related tracebacks')

2005-06-16 Thread Maxwell Hammer
Hi all, This is related to an earlier post 'Help with thread related tracebacks'...for which I have had no feedback yet :-( How should a thread complete i.e. how should it exit? Reading the python online docs one gets the idea that simply returning is OK - but I'm not sure. Is it ok to do a sys.e

Help with thread related tracebacks

2005-06-15 Thread Maxwell Hammer
Hope someone can help with a problem I'm having. A python program I wrote terminates with the following traceback. *** start traceback *** Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/usr/lib/python2.4/atexit.py", line 22, in _run_exitfuncs func(*targs, **kargs)

Re: Python Developers Handbook - Mistake done and corrected.

2005-06-11 Thread Maxwell Hammer
On Fri, 10 Jun 2005 04:52:12 -0700, wooks wrote: > > Your understanding of Usenet is that a post has to "appeal" (for the > want of a better word) to the majority of the NG readership. > > Look over a hundred people took a look (and the hits are steadily > going up whether despite or because of

Re: 2.4 crashes when try to exit app and mulitple threads active

2005-03-20 Thread Maxwell Hammer
On Sat, 19 Mar 2005 22:35:39 -0500, Peter Hansen wrote: > When you say "only one thread running", did you mean only > one monitor thread in addition to the main thread, or did > you really mean only the main thread was active at this time? I meant there was the main app and one thread. The proble

2.4 crashes when try to exit app and mulitple threads active

2005-03-19 Thread Maxwell Hammer
An application I am developing executes many threads and then has a "monitor" part that waits for certain events. One of these events causes the application to have to shutdown. On shutdown the monitor part notifies the threads of a shutdown, and the threads must cleanup and exit. When all threads