Re: Passing Exceptions Across Threads

2006-04-26 Thread robert
Adam Mullins wrote: > Hello, I'm writing a physics simulator back-end with a built-in, > threaded server that for the moment is quite simple. I've faced a few > problems in writing this code, however, as it's the first time I've > played with threading. For the moment, everything works decently, b

Re: Passing Exceptions Across Threads

2006-04-26 Thread [EMAIL PROTECTED]
have you tried replacing : main = threading._MainThread() with main = threading.currentThread() ? (not sure if that will be sufficient) Well your way to pass exception between threads looks like I would have done myself. But I am no expert. Have you considered using stackless Python ? It pro

Passing Exceptions Across Threads

2006-04-25 Thread Adam Mullins
Hello, I'm writing a physics simulator back-end with a built-in, threaded server that for the moment is quite simple. I've faced a few problems in writing this code, however, as it's the first time I've played with threading. For the moment, everything works decently, but I need (or rather, want) a