lock

package
v0.33.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// Ensures only a single instance is performing migrations at a time.
	GlobalMigrate = uint32(0x1337) // 4919

	// Currently unused.
	GlobalEngineProcessing = uint32(0x1234) // 4660

	// Ensures only a single instance is sending messages,
	// this includes out-of-transaction processes.
	GlobalMessageSending = uint32(0x1330) // 4912

	// Currently unused.
	RegionalEngineProcessing = uint32(0x1342) // 4930

	// Currently unused.
	ModularEngineProcessing = uint32(0x1347) // 4935

	// A shared lock is grabbed by the application, and exclusive
	// lock during the final sync as a stop-the-world lock for the
	// atomic DB switch.
	GlobalSwitchOver = uint32(0x1111) // 4369

	// Used exclusively by engine instances to elect a leader.
	//
	// Only the instance and connection with this lock is allowed
	// to perform trigger updates and synchronization.
	//
	// It must be acquired before the global switchover lock.
	GlobalSwitchOverExec = uint32(0x1112) // 4370
)

Defined global lock values.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL