Class CriticalSection
Critical sections support.
final public
|
#
__construct(
)
Static class – cannot be instantiated. Static class – cannot be instantiated. |
public static
void
|
#
enter(
)
Enters the critical section, other threads are locked out. Enters the critical section, other threads are locked out. |
public static
void
|
#
leave(
)
Leaves the critical section, other threads can now enter it. Leaves the critical section, other threads can now enter it. |