method

lock

v1_8_7_72 - Show latest stable - Class: Mutex
lock()
public

Attempts to grab the lock and waits if it isn’t available.