acquire_printer_lock
Acquire an exclusive lock on a printer to prevent multiple agents from controlling it simultaneously. Specify printer name, optional holder identifier, and timeout.
Instructions
Acquire an exclusive lock on a printer for safe concurrent access.
Prevents multiple agents from controlling the same printer simultaneously.
Args:
printer_name: Printer to lock.
holder: Identifier of the lock holder.
timeout_seconds: Maximum time to wait for the lock.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| holder | No | agent | |
| printer_name | Yes | ||
| timeout_seconds | No |