JCL Help:TJclEvent.SetEvent

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Sets the Event to the signaled state.


Pascal

 public function SetEvent: Boolean;


Return Value

If the function succeeds it returns True, otherwise it returns False. In the latter case you can call GetLastError to get extended error information.


Description

SetEvent sets the Event to the signaled state. Manual-reset events remain in the signaled state until explicitly reset by using ResetEvent. All threads subsequently calling one of the wait functions are released immediately. For auto-reset events the state remains signaled until one thread is released from waiting on this event.


See Also

Pulse ResetEvent


About

Donator

Marcel van Brakel


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page