worker.locks
稳定性: 1 - 实验性的
¥Stability: 1 - Experimental
- LockManager
LockManager
的一个实例,可用于协调对同一进程内多个线程共享的资源的访问。该 API 的语义与 浏览器 LockManager
相同。
¥An instance of a LockManager
that can be used to coordinate
access to resources that may be shared across multiple threads within the same
process. The API mirrors the semantics of the
browser LockManager