From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 10 Oct 2008 17:57:49 +0000 (GMT) From: Gabriele Moabiti MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-396205436-1223661469=:45338" Message-ID: <563079.45338.qm@domain.hid> Subject: Re: [Xenomai-help] trap exceptions in user List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gilles Chanteperdrix Cc: Xenomai help --0-396205436-1223661469=:45338 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable =0A> =0A> my_rt_task_func()=0A> {=0A> int 3 // This is trapped by the c= ustom exception routine (forwarded to xenomai handler). The terminal write= =0A> // trace/breakpoint trap=0A> }=0A=0A> This does not tell m= e how the thread running "my_rt_task_func" is created.=0A=0AIn user space w= ith the standard=0A=0A rt_task_create(&task_desc, "MyTaskName", TASK= _STKSZ, TASK_PRIO, TASK_MODE);=0A rt_task_start(&task_desc, &my_rt_t= ask_func, NULL);=0A=0A Gabriele=0A=0A=0A=0A Scopri il blog di Yahoo= ! Mail:=0ATrucchi, novit=C3=A0 e scrivi la tua opinione.=0Ahttp://www.ymail= blogit.com/blog --0-396205436-1223661469=:45338 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
<= br>>
> my_rt_task_func()
> {
>    int 3 //= This is trapped by the custom exception routine (forwarded to xenomai hand= ler). The terminal write
>            = // trace/breakpoint trap
> }

> This does not tell me how th= e thread running "my_rt_task_func" is created.

In user space with th= e standard

        rt_task_create(&= ;task_desc, "MyTaskName", TASK_STKSZ, TASK_PRIO, TASK_MODE);
  = ;      rt_task_start(&task_desc, &my_rt_ta= sk_func, NULL);

    Gabriele
=0A=0A=0A=0A
Scopri il <= a href=3D"http://us.rd.yahoo.com/mail/it/taglines/yahoo/ymail/SIG=3D11djrg4= 60/**http%3A%2F%2Fwww.ymailblogit.com%2Fblog%2F"> Blog di Yahoo! Mail: = trucchi, novit=C3=A0, consigli... e scrivi la tua opinione! --0-396205436-1223661469=:45338--