From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5069BD62.5030706@xenomai.org> Date: Mon, 01 Oct 2012 17:57:22 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] Qeustion about rtdm_event_timedwait List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andrey Nechypurenko Cc: xenomai@xenomai.org On 10/01/2012 05:51 PM, Andrey Nechypurenko wrote: > driver's read() function is registered as *read_nrt* That is the problem. > real-time process. So does it imply that to make > event_wait/event_signal to work, the "client" must also run Xenomai RT > task? Yes > > In fact, in the documentation for rtdm_event_wait(), the following is mentioned: > This service can be called from: > * Kernel-based task > * User-space task (RT) > > I thought, that since I am in driver's read() function, the first > statement "Kernel-based task" is what I am doing and it should be OK. "Kernel-based task" means RTDM (or Xenomai) kernel based task. -- Gilles.