Vala.Concurrent.Mutex.withLock – Valacore Reference Manual
withLock
Description:
public
void
withLock
(
WithLockFunc
func)
Executes a function while holding the lock.
Parameters:
func
function to execute.