(PECL pthreads >= 0.0.33)
Mutex::trylock — To attempt to lock a Mutex without blocking.
$mutex
)Attempt to lock the Mutex for the caller without blocking if the Mutex is owned (locked) by another Thread.
mutex
A handle returned by a previous call to Mutex::create().
A boolean indication of success.