if a userland RT thread gets modeswitched, the SIGXCPU handler obviously still
executes in the RT domain, at least rt_task_self() returns a valid task
descriptor - fine.
If a kernel RT thread misses the release point, it seems the thread is
immediately switched to linux scheduling - or at least rt_task_self() returns
NULL in this scenario:
int result = rt_task_wait_period(&overruns);
switch (result) {
case -ETIMEDOUT: // release point was missed
task = rt_task_self(); // this returns NULL
not a big thing - I just would like to get at the thread name for error message
purposes; any way to do this?
- Michael
_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai