singleton-lock

Rendered from Markdown into styled HTML. Code blocks, tables, and links stay readable and theme-consistent.

On This Page

Exported APIEnvironment Variables ReferencedNotable Internal Symbols

singleton-lock

  • Source file: src/singleton-lock.ts
  • Lines: 94
  • Responsibility: Singleton lock acquisition and stale lock cleanup.

Exported API

export function acquireSingletonLock(lockPath: string): void {

Environment Variables Referenced

None in this module.

Notable Internal Symbols

function pidIsAlive(pid: number): boolean {