Skip to main content

Concurrency Mode (Tools/APIs)

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.

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.

Note

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().

FeedbackOpens in a new tab