On 19/09/06, <b class="gmail_sendername">Sanjaya Vitharana</b> <<a href="mailto:sanjaya@wavenet.lk">sanjaya@wavenet.lk</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div bgcolor="#ffffff">
<div><font face="Arial" size="2">Hi ... ALL,</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Behavior: Gen FSM</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Scenario:</font></div>
<div><font face="Arial" size="2">Want to be in state "open" (see below) for limited
time (assume 5 sec) until some EXPECTED event (as_E) comes,
</font><font face="Arial" size="2">have to move to some other state if the
expected event not received in that time. </font><font face="Arial" size="2">All other events should be ignored in state "open".</font></div></div></div></blockquote><div><br><br>One way around this is to not use the built-in timeout functionality
i.e drop the timeout value from the return value of the callback function. You can use erlang:send_after/3 to send yourself a message 5 seconds later.<br></div></div><br>cheers<br>Chandru<br>