Sign in Join
FPDoc Onlineexperiment

TEventObject.SetEvent procedure

Member of TEventObjectpublicIn unit SyncObjs

Set the event.

Declaration

pascal
procedure SetEvent

Description

SetEvent sets the event. If the ManualReset is True any thread that was waiting for the event to be set (using WaitFor) will resume it's operation. After the event was set, any thread that executes WaitFor will return at once. If ManualReset is False, only one thread will be notified that the event was set, and the event will be immediately reset after that.

See also

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