[fpc-pascal] RTL events

Vinzent Hoefler JeLlyFish.software at gmx.net
Mon Oct 22 08:59:54 CEST 2007


On Friday 19 October 2007 15:10, papelhigienico at gmail.com wrote:

> I'm studing RTL Events and TEvent class under Unix. RTL Event don't
> keep the state of event after an RTLEventWaitFor or
> RTLEventWaitForTimeout (after this the event is reseted).
>
> This reset after an RTLWaitFor is a rule for RTL Events?

Yes. You've first waited for the event to happen, then it happened, so 
now you should wait for the next event.

Basically,

RTLEventWaitFor;
RTLEventWaitFor;

should require two distinct events to get through.


Vinzent.



More information about the fpc-pascal mailing list