Unit 'syncobjs' Package
[Overview][Constants][Types][Classes][Index] [#fcl]


Set the event.


Source position: syncobjs.pp line 93

public procedure TEventObject.SetEvent;


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



Wait for the event to be set.



Should the event be reset manually.

Documentation generated on: Jul 24 2023