Skip to content
Commit e1919071 authored by Philippe Gerum's avatar Philippe Gerum
Browse files

evl/thread: add unblock, demote and yield operations



- EVL_THRIOC_UNBLOCK releases the target thread from any ongoing wait
  on a resource (does not apply to forcible suspension).

- EVL_THRIOC_DEMOTE unblocks and demotes the target thread to
  SCHED_WEAK.

- EVL_THRIOC_YIELD performs sched_yield().

In addition, EVL_THRIOC_SET/CLEAR_MODE are no more restricted to the
current thread over oob, which did not make much sense. Calls from
either in-band or oob are now allowed, and may target an arbitrary
thread.

These changes trigger a bump to ABI 22, although we keep on supporting
21.

Signed-off-by: default avatarPhilippe Gerum <rpm@xenomai.org>
parent 88b2a5d0
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