PHP 5.6.0beta1 released

The Mutex class

(PECL pthreads >= 2.0.0)

Introduction

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

Class synopsis

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 ] )
}

Table of Contents

add a note add a note

User Contributed Notes

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