rtems_iterate_over_all_threads

Leon Pollak leonp at plris.com
Wed Apr 22 13:45:05 UTC 2009


On Wednesday April 22 2009, Thomas Dörfler wrote:
> Leon,
>
> wouldn't it be better in that case to reaise your own priority beyond
> all other tasks? This would make sure your task has the processor on its
> own until it blocks (e.g. in an I/O operation).
This is exactly the main goal I want  to reach - to block all uncontrolled (by 
this task) I/O operations.

> When you suspend a bunch of tasks, you might even have to track, which
> tasks already where suspended, to avoid that you resume a task that was
> suspended by another piece of code...
Hmmm... I thought that nested suspends are working... I mean, two suspends and 
one resume will leave task suspended....
Isn't it correct?

> wkr,
> Thomas.
Many thanks
Leon.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20090422/037b9edc/attachment-0001.html>


More information about the users mailing list