Skip to main content

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

Was this page helpful?