Mutex
PHP Manual

Mutex::destroy

(PECL pthreads >= 0.34)

Mutex::destroyDestroy Mutex

Opis

final public static boolean Mutex::destroy ( long $mutex )

Destroying Mutex handles must be carried out explicitly by the programmer when they are finished with the Mutex handle.

Parametry

mutex

A handle returned by a previous call to Mutex::create(). The handle should not be locked by any Thread when Mutex::destroy() is called.

Zwracane wartoĊ›ci

A boolean indication of success


Mutex
PHP Manual