Skip to main content

Module instance

Module instance 

Source
Expand description

Single-instance helpers backed by named Windows mutexes.

Structs§

InstanceGuard
Guard that keeps the named single-instance mutex alive for the current process.

Enums§

InstanceScope
Scope used when creating the named mutex for single-instance enforcement.

Functions§

single_instance
Attempts to acquire a named process-wide single-instance guard.
single_instance_with_scope
Attempts to acquire a named single-instance guard in the requested Windows namespace.