Sign in Join
FPDoc Onlineexperiment

RTLEventWaitFor procedure

In unit System

Wait for an event.

Declaration

pascal
procedure RTLEventWaitFor(state: PRTLEvent)

Description

RTLeventWaitFor suspends the thread till the event occurs. The event will occur when another thread calls RTLEventSetEvent on State.

By default, the thread will be suspended indefinitely. However, if TimeOut is specified, then the thread will resume after timeout milliseconds have elapsed.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.