JVCL Help:TJvMTSectionBase.Leave

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Tries to leave the section.


Pascal

 procedureLeave;


Description

Call Leave to try to leave the section. The method will only return if the section has been left. This method will raise a TMTTerminate exception if the thread cannot leave immediately and has to terminate.
Call Leave at the end of a thread-sensitive section of code. Each call to Leave should be balanced by a call to Enter at the beginning of the thread-sensitive section.


See Also

TJvMTSectionBase.Enter


About

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