JCL Help:TJclEvent.ResetEvent

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Resets the Event to the nonsignaled state.


Pascal

 public function ResetEvent: 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

ResetEvent resets the Event to the nonsignaled state thereby blocking all waiting threads. This is only useful for a manual-reset event which has to be explicitly set or reset. Auto-reset events are automatically reset to the nonsignaled state whenever a thread successfully waited on it.


See Also

Pulse SetEvent


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