Varsha Purohit wrote:
> Hello,
> i have a gui program in wxpython where i am spawning two threads.
> one for the mainloop of gui and other for some background tasks.
It is unusual to start a new thread for the GUI. Usually the GUI is run
in the main application thread.
> I have
> to stop th
Hi,
Here are some thoughts:
From the Python Library Reference: "If the subclass overrides the
constructor, it must make sure to invoke the base class constructor
(Thread.__init__()) before doing anything else to the thread." You'll
have to do that for your GuiScript class.
You can't just sto
Hello,
i have a gui program in wxpython where i am spawning two threads. one
for the mainloop of gui and other for some background tasks. I have to stop
the background running thread once its work is done. I am trying to use the
join method but it is giving me an error saying threads cannot be
Varsha Purohit wrote:
> Hello friends,
> I hve a GUI where i have start button and stop button. When i
> press start button one thread is created and it is executing some
> background task and when i press stop button that thread is
> stopped/killed. These two things are working properly
On 30/01/2008, Varsha Purohit <[EMAIL PROTECTED]> wrote:
> Hello friends,
> I hve a GUI where i have start button and stop button. When i press
> start button one thread is created and it is executing some background task
> and when i press stop button that thread is stopped/killed. These t
Hello friends,
I hve a GUI where i have start button and stop button. When i press
start button one thread is created and it is executing some background task
and when i press stop button that thread is stopped/killed. These two things
are working properly. But i have to implement pause but