API reference

python:irx:irx.builder.runtime.record_batch.record_batch_build_lock

function record_batch_build_lock

record_batch_build_lock(output_path: Path, timeout_seconds: float = 120.0) -> Iterator[None]

Source: packages/irx/src/irx/builder/runtime/record_batch.py:522

Serialize native library builds with an OS-managed file lock.

The lock file is a persistent rendezvous point, while ownership is held by the operating system. Process termination therefore releases the lock without trusting file contents, process identifiers, or cleanup code.

Parameters

Returns

Result of this operation: serialize native library builds with an OS-managed file lock.; Type: Iterator[None]

Search documentation

Type to search.