JCL Help:TJclEvent.Pulse
JCL Help: TJclEvent.Pulse Method
Search in JCL Help
Search in all projects
Summary
Pulses the Event object.
Pascal
public function Pulse: 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
Pulse sets the Event to the signaled state and back to nonsignaled in one single operation releasing the appropriate waiting threads in between. For a manual-reset event, all waiting threads are released before returning the Event to the nonsignaled state. For an auto-reset event, only one waiting thread is released. If no threads are waiting the function merely resets the Event to the nonsignaled state.
See Also
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