[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Date: Wed, 22 Apr 2009 16:45:05 +0300
- From: leonp at plris.com (Leon Pollak)
- Subject: rtems_iterate_over_all_threads
On Wednesday April 22 2009, Thomas D?rfler wrote:
> 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?
-------------- next part --------------
An HTML attachment was scrubbed...