Well, the application could implement suspend() to do this.

On Thu, Oct 8, 2009 at 5:12 AM, Sandro Martini <[email protected]>wrote:

> Hi to all,
> a little thing that could be useful in some cases is the ability to
> Pause / Resume a running Application / Applet ... like in Flash.
>
> In Applications we have already suspend and resume methods, while in
> Applets there are standard methods (i think they are used in Pivot for
> this).
>
>
> This could be really useful when an application has some heavy CPU
> thing (or some Thread goes in infinite loop, etc) ... I hope wouldn't
> be a real case for our applications :-)
>
> So the real question, when an application executes many Threads (via
> Pivot queues), there is a simple way (like an utility method) to
> pause/resume also them ? The same also to kill all worker Threads
> before exiting.
>
>
> Thanks,
> Sandro
>

Reply via email to