[Tutor] [tutor] Question on multithreading

John Fouhy john at fouhy.net
Wed Jan 30 04:43:35 CET 2008

On 30/01/2008, Varsha Purohit <varsha.purohit at gmail.com> 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. But i have to implement pause button in my GUI. When i
> press pause the thread execution should come to a halt and after that it
> should be resumed when i press pause again or may be i can implement some
> other button.
> Does anybody have an example where they have implemented this kind of
> threading concept ??

How did you implement your stop button?  Can you adapt that solution?


More information about the Tutor mailing list