Re: Task API
- Posted by Robert Craig <rds at RapidEuphoria.com> Sep 30, 2005
- 541 views
Michael Nelson wrote: > I simply must have a way of determining what tasks are active. > Ideally, I'd like > > b=task_active(i) when i is the task id and the return is a boolean > > and > > s=task_all_active() > where the return is a list (pref sorted) of all active tasks. I'm pretty sure I'm going to implement both of those (more or less). I probably won't sort them by task id. You'll have to do that. Would you like suspended tasks to be included in the list of active tasks? Should task_active() distinguish between suspended and normally-active tasks? Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com