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:[EMAIL PROTECTED]]
Sent: Friday, June 29, 2001 3:52 PM
To: [EMAIL PROTECTED]
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 |
`--------------------------------------> [EMAIL PROTECTED] -'
----- End of forwarded message from [EMAIL PROTECTED] -----
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/
----- End of forwarded message from [EMAIL PROTECTED] -----
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/