axel axel wrote:
 > Hi,
 > 
 > 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.

-- 


                                            Gilles.

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to