All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Andrey Nechypurenko <andreynech@googlemail.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Qeustion about rtdm_event_timedwait
Date: Mon, 01 Oct 2012 17:57:22 +0200	[thread overview]
Message-ID: <5069BD62.5030706@xenomai.org> (raw)
In-Reply-To: <CAOiXNkBzov-hrEOECeqPNgMw-peUmMcx55N8CcL3Ue66H-xwMA@mail.gmail.com>

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.


  reply	other threads:[~2012-10-01 15:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-01 15:51 [Xenomai] Qeustion about rtdm_event_timedwait Andrey Nechypurenko
2012-10-01 15:57 ` Gilles Chanteperdrix [this message]
2012-10-01 16:01   ` Andrey Nechypurenko
2012-10-01 16:05     ` Gilles Chanteperdrix
2012-10-01 16:10       ` Andrey Nechypurenko
2012-10-01 16:13         ` Andrey Nechypurenko
2012-10-01 16:20           ` Gilles Chanteperdrix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5069BD62.5030706@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=andreynech@googlemail.com \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.