![](https://lavag.org/uploads/set_resources_1/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
boza
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by boza
-
-
Hello all,
i am trying to find the best way of interrupting a timeout event case, in order to provide priority to other event cases
within the same Event structure.
The timeout runs at 1000msec and within it i perform some actions, that i would like to interrupt when another event is triggered
in the same Event structure.
Any suggestions?
Best regards
Event case interruption
in Application Design & Architecture
Posted
Thanks for your replies.
The thing is that all the event cases within the same event structures (including the timeout) handle RS232 interactions. That's why i used the timeout in the same structure. So lets say that an event is triggered while the timeout is running, then the event will have to wait some time for the timeout case code to finish in order to serve it.
The possibility of using another loop with a timeout in it, must be carried out with some piece of synchronization i suppose. Do you think that this could be done using the synchronization functions?
Best regards