PHP 7.2.0 Beta 1 Released

The Mutex class

(PECL pthreads < 3.0.0)

導入

警告

The Mutex class has been removed in pthreads v3.

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

クラス概要

Mutex {
/* メソッド */
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 ] )
}

目次

add a note add a note

User Contributed Notes

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