Op 2005-12-19, sir_alex schreef <[EMAIL PROTECTED]>:
> 1) no, i didn't; i'll go and read that function
gtk.gdk.threads_init, has to be called before gtk.main
if you want threads in a pygtk program.
> 2) well, the actual situation is: there's the main thread (the
> application itself) and then the
1) no, i didn't; i'll go and read that function
2) well, the actual situation is: there's the main thread (the
application itself) and then the second thread that i create with
threading.Thread, in which i make some things; in this thread i call
gtk.gdk to update a window with a progress bar...
3)
Op 2005-12-19, sir_alex schreef <[EMAIL PROTECTED]>:
> Hello everybody! I have a couple of questions about threads: the first
> is, is there the possibility to cancel a thread while it is executing
> (like the C function thread_cancel),
You can have one thread raise an exception in an other thread
"sir_alex" <[EMAIL PROTECTED]> writes:
> Hello everybody! I have a couple of questions about threads: the first
> is, is there the possibility to cancel a thread while it is executing
> (like the C function thread_cancel), for implementing something like an
> "abort" button?
As far as I know, py
Hello everybody! I have a couple of questions about threads: the first
is, is there the possibility to cancel a thread while it is executing
(like the C function thread_cancel), for implementing something like an
"abort" button? And the second is, i have a GUI in which there's a
button that launche