charcoal-dev / semaphore
Semaphore Emulator for Charcoal Apps
Installs: 1 651
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^8.3
- charcoal-dev/base: >=0.0.17 <0.1.0
- charcoal-dev/filesystem: ^0.2.4
README
Semaphore library provides a lightweight locking mechanism for the Charcoal framework, using the filesystem to coordinate access between processes. It allows code to create, check, and release locks reliably, helping prevent race conditions and ensuring that critical sections of code are executed by only one process at a time.
For detailed information, guidance, and setup instructions regarding this library, please refer to our official documentation website: