method

lock

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

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