All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Dehann Fourie <dehann.fourie@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] RT serial port (rt_dev_write()) question
Date: Tue, 16 Feb 2010 20:03:08 +0100	[thread overview]
Message-ID: <4B7AEBEC.5000902@domain.hid> (raw)
In-Reply-To: <2b490f271002161033i3b9f3cf3xda2451fd4efae0c9@domain.hid>

Dehann Fourie wrote:
> Hi,
> 
> Quick question. Can you write to a rt device (say "rtser0") from the
> main thread, ie not in a rt_task?

Short answer: Nope.

Longer version: You must call this service over a Linux task that was
shadowed for use with Xenomai. That can also be the main thread of some
application, though (check rt_task_shadow if use the native skin).

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux


  reply	other threads:[~2010-02-16 19:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-16 18:33 [Xenomai-help] RT serial port (rt_dev_write()) question Dehann Fourie
2010-02-16 19:03 ` Jan Kiszka [this message]
2010-02-16 19:23   ` Dehann Fourie

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=4B7AEBEC.5000902@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=dehann.fourie@domain.hid \
    --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.