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 /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/Macaulay2Doc/doc_mutex.m2:91:0.