msys.unlock

March 26, 2020

Name

msys.unlock — Release a lock obtained via msys.lock

Synopsis

msys.unlock(mutexname);

mutexname: string

Description

Releases a lock obtained via msys.lock. This function must be called from the same OS level thread that obtained it.

For example code see thread.mutex.

Because this function is in the msys namespace, an explicit require is not necessary.

See Also

msys.lock