trap exceptions in user
Quoted 9 lines
my_rt_task_func()
{
int 3 // This is trapped by the custom exception routine (forwarded to xenomai handler). The terminal write
// trace/breakpoint trap
}This does not tell me how the thread running "
my_rt_task_func" is created.
In user space with the standard
rt_task_create(&task_desc, "MyTaskName", TASK_STKSZ, TASK_PRIO, TASK_MODE);
rt_task_start(&task_desc, &my_rt_task_func, NULL);
Gabriele
Scopri il blog di Yahoo! Mail:Trucchi, novità e scrivi la tua opinione.
http://www.ymailblogit.com/blog