|
|
|
|
|
CriticalSectionEnd (Function) In french: SectionCritiqueFin Marks the end of a critical section: another thread will be able to run the code.
CriticalSectionStart("MaSection")
...
CriticalSectionEnd("MaSection")
Syntax
Ending a named critical section on a code section Hide the details
CriticalSectionEnd([<Section name>])
<Section name>: Optional character string Identifies the critical section. Remarks Miscellaneous - For more details on critical sections, see Managing the critical sections.
- If a thread is destroyed while it is found in a critical section, the critical section is automatically freed.
- A single thread is allowed in all the sections with the same name.
- If sections use a different name, a thread can run the code of one section while another thread runs the code of another section.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|