You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
node:worker_threads: implement Web Locks request and query #3328
worker_threads.locks should expose Node's experimental Web Locks manager with locks.request(), locks.query(), and Lock objects. Perry currently has no visible worker_threads Web Locks implementation.
Node Behavior
A Node v25.9.0 probe shows the local lock manager shape:
Node resolves the callback result, exposes held/pending snapshots, and surfaces Lock instances with name and mode.
Perry Behavior
docs/runtime-parity-gaps.md lists worker_threads.locks; docs/runtime-parity.md lists locks.request(name[, options], callback), locks.query(), and class Lock under worker_threads Web Locks. Source search found no worker_threads locks manager, manifest entries, or tests for this surface. Exact issue/PR searches for worker_threads.locks, locks.request, locks.query, and Web Locks found no focused tracker beyond the broad parent #2507 where Web Locks were explicitly deferred.
Suggested PR Cut
Batch this with related issues in: node:worker_threads: Web Locks parity cut
parity/regression test proves worker_threads.locks.request() grants an exclusive lock, passes a Node-shaped Lock object to the callback, and resolves to the callback return value
worker_threads.locks.query() exposes held and pending arrays with Node-compatible shape for covered cases
implementation matches Node observable behavior
related known-failure/docs/manifest entries updated if touched
Activity