PHP 7.1.20 Released

The Mutex class

(PECL pthreads < 3.0.0)

Introducere

Avertizare

The Mutex class has been removed in pthreads v3.

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

Sinopsisul clasei

Mutex {
/* Metode */
final public static int create ([ bool $lock ] )
final public static bool destroy ( int $mutex )
final public static bool lock ( int $mutex )
final public static bool trylock ( int $mutex )
final public static bool unlock ( int $mutex [, bool $destroy ] )
}

Cuprins

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top