Skip to main content

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 Using Caché Objects.

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 (for ObjectScript) instead of ##class(%SYSTEM.class).method(), you can use $SYSTEM.class.method().

FeedbackOpens in a new tab