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:534
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
-
output_path — Type: Path
-
timeout_seconds — Type: float
Returns
Type: Iterator[None]