Re: Task API

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu