IForeCriticalSection

Assembly: Fore;

Description

The IForeCriticalSection interface is used to work with a critical section used on working with threads.

Inheritance Hierarchy

IForeCriticalSection

Comments

Critical section is a code fragment, in which the resources that must not be simultaneously used by more than one thread are accessed. The use of critical section enables the user to avoid changing global variables, which can be accessed by different threads on code execution.

Several threads executing typical operations and using the same variables must use a common critical section.

Methods

  Method name Brief description
Enter The Enter method enters a critical section.
Leave The Leave method leaves a critical section.

See also:

Fore Assembly Interfaces