Pumpkin User Forums
SB-14: Salvo: Event Flags and Timeouts
|UBBFriend: Email This Page to Someone!||next newest topic | next oldest topic|
|Author||Topic: SB-14: Salvo: Event Flags and Timeouts|
Salvo Tech Support
posted October 09, 2002 16:29
All Salvo v3 releases, including Salvo v3.0.9 and earlier.
Description of Problem
When multiple tasks wait an event flag, any task(s) waiting with a timeout on the event flag will fail to timeout if the event flag is signaled within the timeout period, regardless of how the event flag is signaled (i.e. for any combination of parameters of OSSetEFlag()).
In other words, every time an eFlag is signaled, the timeout period of the task(s) that is(are) waiting the eFlag is(are) reset.
A typical scenario is:
Use separate eFlags for each task that must wait an eFlag. This will solve the timeout problem, but only if the eFlag is set (signaled) with exactly the mask and options with which the task is waiting the eFlag.
TBD. It is likely that the eFlag functionality will be enhanced, and with it, this problem will be resolved.
[This message has been edited by aek (edited February 23, 2006).]
All times are ET
|next newest topic | next oldest topic|
©2000-2008 Pumpkin, Inc. All Rights Reserved. Pumpkin and the Pumpkin logo, Salvo and the Salvo logo, The RTOS that runs in tiny places, CubeSat Kit and the CubeSat Kit logo are all trademarks of Pumpkin, Inc. All other trademarks are the properties of their respective owners.
Ultimate Bulletin Board 5.46a