Skip to main content
Previous section   Next section

Concurrency Mode

Get and set the concurrency mode for the current process.

Background Information

See the entry for Locks for background information on concurrency. Also see “Object Concurrency” in Defining and Using Classes.

The concurrency mode determines what type of locking is performed when you access an object.

Available Tools

Includes the following class methods:

  • GetConcurrencyMode()

  • SetConcurrencyMode()

Availability: All namespaces.

Reminder

The special variable $SYSTEM is bound to the %SYSTEM package. This means that instead of ##class(%SYSTEM.class).method(), you can use $SYSTEM.class.method().