Philippe Gerum wrote:
> (*) Btw, if you happen to export the current thread state via the shared heap
> userland for the fast mutexes, I guess that we could to use it as well to
> implement a smarter pthread_setschedparam/rt_task_set_priority, doing
> if (in_secondary_mode(ptid))
> When running in secondary mode, we should be able to rely on the automatic
> propagation the nucleus does in do_setsched_event(), if the underlying
> scale is POSIX-compatible, which will work for the native skin as well.
If we export the thread state to user-space there are many things we can
do from user-space, such as disabling preemption for instance.
Xenomai-core mailing list