RTX51 TINY: WILL OS_WAIT (K_SIG + K_TMO...) WORK?
Information in this article applies to:
Does the os_wait function in RTX51 Tiny allow for the combination of signals and timeouts? In other words, can I wait for a signal and a timeout with a single call to os_wait?
Yes. For example:
os_wait (K_TMO + K_SIG, 50, 0);
waits for a signal or 50 ticks, whichever comes first.
The return value from os_wait specifies what caused the function to return.
Last Reviewed: Friday, July 15, 2005
of your data.