library critical-section
Lightweight class supporting critical section locking
stekycz/critical-section
Lightweight class supporting critical section locking
- Wednesday, May 10, 2017
- by stekycz
- Repository
- 2 Watchers
- 0 Stars
- 7,591 Installations
- PHP
- 1 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 23 % Grown
Critical Sections for PHP
Description
Lightweight class supporting critical section locking in PHP., (*1)
It requires PHP >= 7.1 and no other dependency., (*2)
Example
$pdo = new PDO('...');
$driver = new Bileto\CriticalSection\Driver\PdoPgsqlDriver($pdo);
$criticalSection = new Bileto\CriticalSection\CriticalSection($driver);
$criticalSection->enter('Section Label');
// Perform set of steps of critical tasks
$criticalSection->leave('Section Label');
dev-master
9999999-dev
Lightweight class supporting critical section locking
Sources
Download
MIT
The Requires
The Development Requires
parallel
critical-section
locks
v1.0.1
1.0.1.0
Lightweight class supporting critical section locking
Sources
Download
MIT
The Requires
The Development Requires
parallel
critical-section
locks
v1.0.0
1.0.0.0
Lightweight class supporting critical section locking
Sources
Download
MIT
The Requires
The Development Requires
parallel
critical-section
locks