>
> 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à, consigli... e scrivi la tua opinione!