Lock a pane for writing
lock_paneAcquire an advisory write lock on a pane to ensure only your owner can send_input until the lock expires or is released. Re-acquire with the same owner to renew.
Instructions
Take an advisory write lock on a pane (agent-orchestration H) so only this owner can send_input until it expires or is released. Advisory: an unlocked pane is writable by anyone. Renew by acquiring again as the same owner. Pass the same owner to send_input while holding it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | your lock identity (e.g. your paneId) | |
| ttlMs | No | lock lifetime (default 30000ms) | |
| paneId | Yes |