axel axel wrote:
> i want to catch an exception in realtime tasks ( for example a null pointer
> i saw that in xenomai there is a function rthal_trap_catch.
> But i don't know how works.
Well, Xenomai handles exceptions itself, and it is not currently
user-configurable. In a kernel module launched after xenomai nucleus
module, you will have to call rthal_trap_catch, passing a pointer to a
function of yours, which falls back to xenomai exception handler
when the exception is not of interest to your application.
Xenomai-core mailing list