Please wait while we load your page...
 

Announcements

PHP Manual :: The Mutex class



Pool::submitTo || Mutex::create || pthreads || PHP Manual

(PECL pthreads >= 2.0.0)

The static methods contained in the Mutex class provide direct access to Posix Mutex functionality.

Mutex {
/* Methods */
final public static long create ([ boolean $lock ] )
final public static boolean destroy ( long $mutex )
final public static boolean lock ( long $mutex )
final public static boolean trylock ( long $mutex )
final public static boolean unlock ( long $mutex [, boolean $destroy ] )
}


Pool::submitTo || Mutex::create || pthreads || PHP Manual
Live Chat Not Available