[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom ["Bond, Richard M" <richard.m.bond@lmco.com>] (fwd)
- To: rtl@rtlinux.org
- Subject: BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom ["Bond, Richard M" <richard.m.bond@lmco.com>] (fwd)
- From: Der Herr Hofrat <der.herr@hofr.at>
- Date: Sun, 1 Jul 2001 08:07:37 +0200 (CEST)
>From owner-rtl Sat Jun 30 14:27:08 2001
Received: from mailgw2a.lmco.com (mailgw2a.lmco.com [192.91.147.7])
by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f5UKR7h18460
for <rtl@fsmlabs.com>; Sat, 30 Jun 2001 14:27:07 -0600
Received: from emss03g01.ems.lmco.com (emss03g01.ems.lmco.com [141.240.4.144])
by mailgw2a.lmco.com (8.8.8/8.8.8) with ESMTP id QAA07581
for <rtl@fsmlabs.com>; Sat, 30 Jun 2001 16:20:17 -0400 (EDT)
Received: from CONVERSION-DAEMON by lmco.com (PMDF V5.2-32 #38888) id <0GFR00801F4N53@lmco.com> for rtl@fsmlabs.com; Sat,
30 Jun 2001 16:19:35 -0400 (EDT)
Received: from emss03i00.ems.lmco.com ([141.240.31.211]) by lmco.com (PMDF V5.2-32 #38888)
with ESMTP id <0GFR002KWF4IT2@lmco.com> for rtl@fsmlabs.com; Sat, 30 Jun 2001 16:19:30 -0400 (EDT)
Received: by emss03i00.orl.lmco.com with Internet Mail Service (5.5.2653.19) id <N50XDC3K>; Sat, 30 Jun 2001 16:20:40 -0400
Content-return: allowed
Date: Sat, 30 Jun 2001 16:20:38 -0400
From: "Bond, Richard M" <richard.m.bond@lmco.com>
Subject: RE: [rtl] commandline args
To: rtl@fsmlabs.com
Message-id: <9CB8E413E225D3119A8300508B08F2AB0A1A1CFB@emss03m10.orl.lmco.com>
MIME-version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT
David,
I have a trick I've used under some RT OS's. I've created an environment
variable to make a single value available. For examples I could set
NSAMPLES=2000, and any task can request the value to use to control
something. It's cheap and only a little dirty!
-----Original Message-----
From: David Olofson [mailto:david.olofson@reologica.se]
Sent: Friday, June 29, 2001 3:52 PM
To: rtl@fsmlabs.com
Subject: Re: [rtl] commandline args
On Thursday 28 June 2001 23:06, Anders Gnistrup wrote:
> You can not send commandline args to a running thread under RT-linux like
a
> linux proces. You have to make a linux program that gets the arguments.
> Then you have to send the recived args to some shared buffer or a rtl
fifo.
> If a fifo is used then make a rtf_create_handler that gets the message and
> send the message to a real time thread. See the frank module in
> examples/frank. This should give a ideer what to be done.
I'm not sure this applies to what the question was about...
The term "arguments" in this context usually means some data passed at
startup/load time - whether it's a kernel module or a user space
application.
You can't pass arguments directly to a running process under any OS I know
of, at least.
> Anumula Venkata Naga Seshaiah wrote:
> > Hi Friens,
> >
> > I am novice to RTLinux.
> > I want to know whether we can send commandline args to RTL prog.
> > If anybody knows please write to me.
> > If so please write me how to send args .
//David Olofson --- Programmer, Reologica Instruments AB
.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
`----------------------> http://www.linuxaudiodev.com/maia -'
.- David Olofson -------------------------------------------.
| Audio Hacker - Open Source Advocate - Singer - Songwriter |
`--------------------------------------> david@linuxdj.com -'
----- End of forwarded message from owner-rtl@fsmlabs.com -----
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/
----- End of forwarded message from owner-rtl@fsmlabs.com -----