lock mLocks a mutex.
|
|
If the mutex is already locked, then the thread blocks until it is unlocked. This is not interruptible.
The object lock is a method function.
The source of this document is in Macaulay2Doc/doc_mutex.m2:91:0.