Re: two possible bugs in tasking

new topic     » goto parent     » topic index » view thread      » older message » newer message
useless_ said...

That answers the other unanswered question too: can the task manager run out of task ID numbers? If a task stops running via task_suspend, it's ID can't be reused.

Correct. Those don't get recycled, and the memory they consume (the basic overhead of the control structure and the execution stack, etc) isn't released either. I suspect you'd run out of memory before you ran out of task ids, though I haven't tested this.

Matt

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

Search



Quick Links

User menu

Not signed in.

Misc Menu