CriticalSection.enter(name)

Enters a named critical section. Only one thread can be in a CriticalSection at the same time.

Arguments:

Name Type Description Mode
name String the name of the critical section in