Commit f04bdd1e authored by Philippe Gerum's avatar Philippe Gerum
Browse files

evl/sched: doc: clarify comment


Signed-off-by: default avatarPhilippe Gerum <rpm@xenomai.org>
parent 45235d1a
......@@ -887,10 +887,11 @@ static inline bool test_resched(struct evl_rq *this_rq)
}
/*
* CAUTION: curr->altsched.task may be unsynced and even stale if curr
* == &this_rq->root_thread, since the task logged by leave_inband()
* may not still be the current one. Use "current" for disambiguating
* if you need to refer to the underlying inband task.
* CAUTION: curr->altsched.task may be unsynced and even stale if
* (this_rq->curr == &this_rq->root_thread), since the task logged by
* dovetail_context_switch() may not still be the current one. Always
* use "current" for disambiguating if you intend to refer to the
* running inband task.
*/
void __evl_schedule(void) /* oob or oob stalled (CPU migration-safe) */
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment