help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes] Reference for unit 'syncobjs' (#fcl)

TEventObject.SetEvent

Set the event

Declaration

Source position: syncobjs.pp line 68

public procedure TEventObject.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 immediatly reset after that.

See also

WaitFor

  

Wait for the event to be set.

ManualReset

  

Should the event be reset manually

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505