|
|
|
|
|
CriticalSection (Type of variable) In french: SectionCritique
CriticalSection variables are used to define critical sections to limit the simultaneous execution of a code (procedure, line of code, etc.) to one thread at a given moment in an application. // Declaration //---------------- S is CriticalSection  // Use for a code block //--------------------------- USING S IN // code protected by the critical section // only one thread will execute this code at a given moment END Remarks - The CriticalSection type is used to simplify the declaration of critical sections.
- CriticalSection variables respect the rules for variable scope.
- A block of code can be protected with a critical section via the syntax USING ... IN.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|