dotlk

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LockShm

func LockShm(name string) error

LockShm creates a directory on disk to prevent SQLite from using this path for a shared memory file.

func TryLock

func TryLock(name string) error

TryLock returns nil if it acquired the lock, fs.ErrExist if another process has the lock.

func Unlock

func Unlock(name string) error

Unlock removes the lock or shared memory file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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