[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Date: Wed, 22 Apr 2009 16:14:23 +0300
- From: leonp at plris.com (Leon Pollak)
- Subject: rtems_iterate_over_all_threads
I was glad to find the new rtems_iterate_over_all_threads API function - a
useful thing in my case. What I want is to suspend temporary all tasks (except
this which issues this command) and then, later, may be resume them.
Great! But then I found a real obstacle to do this - to avoid myself
suspension I need to compare myself ID with the "current" ID. For this, in
turn, I need to use rtems_task_ident... Too complex and time consuming!
Will not it be better to add a parameter to rtems_iterate_over_all_threads
saying to avoid myself ID while iterating?
-------------- next part --------------
An HTML attachment was scrubbed...