Re: [Xenomai-core] [RFC] non-RT-safe rtdm_event_*wait

2006-05-22 Thread Philippe Gerum
Jan Kiszka wrote: Philippe Gerum wrote: Given that, a shadow thread which remains in secondary mode is seen as suspended by the Xenomai scheduler, which means that the additional overhead is close to nil (aside of an additional shadow tcb), until it tries to grab the resource and thus moves to

Re: [Xenomai-core] [RFC] non-RT-safe rtdm_event_*wait

2006-05-22 Thread Jan Kiszka
Philippe Gerum wrote: > Jan Kiszka wrote: >> Hi, >> >> attached is an experimental patch to allow blocking from non-RT context >> on RTDM events. Petr Cervenka made me think about this extension which >> could partially open RTDM drivers also for non-shadowed, i.e. standard >> Linux tasks. >> >> Wh

Re: [Xenomai-core] [RFC] non-RT-safe rtdm_event_*wait

2006-05-20 Thread Philippe Gerum
Jan Kiszka wrote: Hi, attached is an experimental patch to allow blocking from non-RT context on RTDM events. Petr Cervenka made me think about this extension which could partially open RTDM drivers also for non-shadowed, i.e. standard Linux tasks. Why not simply shadowing non-RT waiters? Becau

[Xenomai-core] [RFC] non-RT-safe rtdm_event_*wait

2006-05-18 Thread Jan Kiszka
Hi, attached is an experimental patch to allow blocking from non-RT context on RTDM events. Petr Cervenka made me think about this extension which could partially open RTDM drivers also for non-shadowed, i.e. standard Linux tasks. Why not simply shadowing non-RT waiters? Because this kind of sync