|
|
|
|
CriticalSection (Function) In french: SectionCritique Enables a name or on-variable critical section in the statement USING ... IN. // Critical section on a variable t is array <critical section> of int USING CriticalSection(t) IN // Operations on the array by one only thread at a time ... END Syntax
Enables a named critical section on a part of the code Hide the details
CriticalSection([<Section name>])
<Section name>: Optional character string Identifies the critical section. This parameter is used to identify the protected code sections. If this parameter is not specified, an automatic critical section is implemented. Remark: the automatic critical section and the critical section corresponding to an empty string ("") are different.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|