PHP Classes

File: src/NinjaMutex/Mutex.php

Recommend this page to a friend!
  Classes of Kamil Dziedzic  >  Ninja Mutex  >  src/NinjaMutex/Mutex.php  
File: src/NinjaMutex/Mutex.php
Role: Class source
Content type: text/plain
Description: Mutex
Class: Ninja Mutex
Lock resources to prevent simultaneous accesses
Author: By
Last change: Large cleanup + reintroduce Lock __destructor() test
For redis and memcache(d)
Introduce UnrecoverableMutexException, warn about depending on __destructor() for releasing locks.
Infinite loop in mutex dtor when backend is unavailable - fix
Date: 2 years ago
Size: 2,718 bytes

You need to be a registered user and login to get this file.

1,461,141 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on: