CGI Hung Process Help!
Sivakatirswami
katir at hindu.org
Tue May 8 23:08:51 EDT 2007
Dave Cragg wrote:
>
> On 8 May 2007, at 11:27, Sivakatirswami wrote:
>
>
>>> repeat while sDataRead = false
>>> wait for messages
>>> end repeat
>>
>> ## skts: I don't understand "wait for messages" what does that do?
>
> The above three lines are the equivalent of this:
>
> wait until sDataRead is not false with messages
>
> I heard that the "wait for messages" form was less resource intensive
> because the condition was checked less often. But some limited testing
> showed no great difference.
What confuses me is that I thought "wait" was a blocker, but
this is news to me: you can have a "wait" handler
but if you have previously initiated a "send in" loop, those
continue on, even if a "wait" has been set elsewhere.
Sivakatirswami
More information about the use-livecode
mailing list