* [Xenomai-help] FW: RT serial port (rt_dev_write()) question
@ 2010-02-17 6:52 Sam Claassens
2010-02-20 10:46 ` Gilles Chanteperdrix
0 siblings, 1 reply; 3+ messages in thread
From: Sam Claassens @ 2010-02-17 6:52 UTC (permalink / raw)
To: xenomai
Hi,
Is there any reason you shouldn't rt_task_shadow() the main thread?
Regards,
Sam
-----Original Message-----
From: xenomai-help-bounces@domain.hid [mailto:xenomai-help-bounces@domain.hid] On
Behalf Of Dehann Fourie
Sent: 16 February 2010 09:24 PM
To: Jan Kiszka
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] RT serial port (rt_dev_write()) question
Thanks, explains alot.
Regards,
Dehann
On Tue, Feb 16, 2010 at 9:03 PM, Jan Kiszka <jan.kiszka@domain.hid> wrote:
> 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
>
--
Dehann Fourie
_______________________________________________
Xenomai-help mailing list
Xenomai-help@domain.hid
https://mail.gna.org/listinfo/xenomai-help
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-help] FW: RT serial port (rt_dev_write()) question
2010-02-17 6:52 [Xenomai-help] FW: RT serial port (rt_dev_write()) question Sam Claassens
@ 2010-02-20 10:46 ` Gilles Chanteperdrix
2010-02-21 16:29 ` Sam Claassens
0 siblings, 1 reply; 3+ messages in thread
From: Gilles Chanteperdrix @ 2010-02-20 10:46 UTC (permalink / raw)
To: Sam Claassens; +Cc: xenomai
Sam Claassens wrote:
> Hi,
>
> Is there any reason you shouldn't rt_task_shadow() the main thread?
I do not think there are. Some other skins even do it automatically.
--
Gilles.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-help] FW: RT serial port (rt_dev_write()) question
2010-02-20 10:46 ` Gilles Chanteperdrix
@ 2010-02-21 16:29 ` Sam Claassens
0 siblings, 0 replies; 3+ messages in thread
From: Sam Claassens @ 2010-02-21 16:29 UTC (permalink / raw)
To: 'Gilles Chanteperdrix'; +Cc: xenomai
Thanks!
-----Original Message-----
From: Gilles Chanteperdrix [mailto:gilles.chanteperdrix@xenomai.org]
Sent: 20 February 2010 12:47 PM
To: Sam Claassens
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] FW: RT serial port (rt_dev_write()) question
Sam Claassens wrote:
> Hi,
>
> Is there any reason you shouldn't rt_task_shadow() the main thread?
I do not think there are. Some other skins even do it automatically.
--
Gilles.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-02-21 16:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-17 6:52 [Xenomai-help] FW: RT serial port (rt_dev_write()) question Sam Claassens
2010-02-20 10:46 ` Gilles Chanteperdrix
2010-02-21 16:29 ` Sam Claassens
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.