-
Notifications
You must be signed in to change notification settings - Fork 0
lock
Justin Schwartz edited this page Jun 27, 2020
·
4 revisions
- ACE Inline Expansion*
Lock the module's mutex.
Provides support for an automatic global-level mutex.
This mutex is recursive, so may be locked multiple times in the same thread without blocking. You must call $unlock() an equal number of times to give other threads access.
The mutex is initialized after "load-first" blocks, and may not be accessed in load-first blocks. It is destroyed before "unload-last" blocks, and may not be accessed in unload-last blocks.
- $lock()
There are no parameters to this inline expansion.