PHP 7.4.24 Released!

The Mutex class

(PECL pthreads < 3.0.0)

Giriş

Uyarı

The Mutex class has been removed in pthreads v3.

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

Sınıf Sözdizimi

class Mutex {
/* Yöntemler */
final public static create( bool $lock = ?): int
final public static destroy( int $mutex ): bool
final public static lock( int $mutex ): bool
final public static trylock( int $mutex ): bool
final public static unlock( int $mutex , bool $destroy = ?): bool
}

İçindekiler

add a note add a note

User Contributed Notes

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