Code - semaphoreCheck php
Aug 13, 2020 05:04 PM
Gets a semaphore and attempts to acquire to prevent code from running more than one time.
- Aborts if the semaphore cannot be retrieved.
- Aborts if the semaphore in use.
- The key must be an integer.
On Github: https://github.com/campsoftware/semaphoreCheck-php