pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gkbr...@mac.com>
Subject Re: Pause and resume a running application and its Thread workers
Date Thu, 08 Oct 2009 13:16:25 GMT
>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.

Pivot's Task class does not currently support suspend()/resume() methods, but it does support
abort(). An application that required suspend and resume could very easily subclass Task to
support this.

View raw message