rt_task_catch and rt_hook in user space?
Hi to everybody,
Anyone knows why the rt_task_catch and rt_hook is not available in the native library?
rt_task_catch seems to me the only clean way to define signal handlers on per-thread basis, but it is not included in the user space lib, although the doc states that the service should be available to user space tasks.
The hooks (registered on context switch) are very useful to calculate number of switches, consumed cpu time and so on..
Is there any plan to implement them in user space?
Many Thanks
Alessandro
Quoted 4 lines · Alessandro Pittaluga
Hi to everybody,
Anyone knows why the
rt_task_catchandrt_hookis not available in the native library?
These routines are registering user callouts the nucleus invokes from kernel space, so we cannot make them available from user-space at the moment. Maybe this situation will improve when asynchronous calls of user-space routines are made available in the future, e.g. for dealing with real-time signals without resorting to switching to Linux first.
Quoted 3 lines
rt_task_catchseems to me the only clean way to define signal handlers on per-thread basis, but it is not included in the user space lib, although the doc states that the service should be available to user space tasks.
The doc is wrong regarding rt_task_catch(). Only rt_task_notify() is accessible from user-space.
Quoted 4 lines
The hooks (registered on context switch) are very useful to calculate number of switches, consumed cpu time and so on..
Is there any plan to implement them in user space?
Yes; no ETA though.
Quoted 11 lines
Many Thanks
Alessandro
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help
Signature · 1 line
Philippe.