Documentation ¶ Index ¶ func Create(name string) (windows.Handle, error) func Release(handle windows.Handle) error 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. Source Files ¶ View all Source files mutex.go Click to show internal directories. Click to hide internal directories.