mutex

package
v1.56.55 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(name string) (windows.Handle, error)

Create creates a mutex object for ensuring that only one instance is open. https://docs.microsoft.com/en-us/windows/desktop/api/synchapi/nf-synchapi-createmutexw

func Release

func Release(handle windows.Handle) error

Release releases previously created mutex based on id. https://docs.microsoft.com/en-us/windows/desktop/api/synchapi/nf-synchapi-releasemutex

Types

This section is empty.

Jump to

Keyboard shortcuts

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