Skip to contentSkip to conversation

trap exceptions in user

Xenomai-help Gabriele Moabiti 1 participant 1 message Oct 10, 2008

lore
Share & tools
lore
#0 lore raw
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