Macro With-Lock-Mutex
(
with-lock-mutex &rest < args > )
Parameters
mutex
A mutex object handle.
forms
Body of code to execute
Description
This macro will acquire a lock on the selected mutex object using glfwLockMutex and release it afterwards
using glfwUnlockMutex.
So, forms will not execute until an exclusive lock is held.
The lock is then released when the stack is unwound.