yodaiken> My suggestion is that you start with examples/misc/posix_mod.c
  yodaiken> as a base - the clock_nanosleep mechanism is, to me, better than 
  yodaiken> the RTLinux native method.

Thanks for your prompt reply!

First, I can't find "examples/misc/posix_mod.c" in my 3.0pre9
distribution.  What is in "examples/misc" (and mentioned in _Getting
Started_), however, is nanosleep.c.  Is that what you suggest I
study.

If so, that would force me to make my thread sleep until nanosleep's
period has expired.  I would rather have the thread continue to be
active.  I just want a way to start (restart) another thread that will
asynchronously set a global variable after a certain period.  The
thread that starts up that "time out" thread can continue being active
to inputs.

Sorry if I am being unclear and/or dumb about this.  But I remember in
RSX-11 years ago being able to request that an "event variable" (EV)
be set after a certain period passes.  That EV would appear as a
condition on a state transition diagram.  I am sure RTL can do the
same, but I just can't seem to see how.

Thanks again Victor!

  -Kenneth
-- [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/rtlinux/

Reply via email to