"use strict";
/* Socket Lib - Built with rolldown */
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const require_process_lock_manager = require('./lock-manager.js');

//#region src/process/lock-instance.ts
/**
* @file Singleton `processLock` instance — the canonical cross-cutting lock
*   manager. Most callers want this; only test harnesses that need an isolated
*   lock-tracking state should construct a `ProcessLockManager` directly.
*/
/**
* Singleton process lock manager instance.
*
* @example
*   ;```typescript
*   import { processLock } from '@socketsecurity/lib/process/lock-instance'
*
*   await processLock.withLock('/tmp/my-lock', async () => {
*     // critical section
*   })
*   ```
*/
const processLock = new require_process_lock_manager.ProcessLockManager();

//#endregion
exports.processLock = processLock;