bool lock(bool $blocking = false)
Lock the resource.
bool lock(bool $blocking = false)
Lock the resource.
bool | $blocking | wait until the lock is released |
bool | Returns true if the lock was acquired, false otherwise |
IOException | If the lock file could not be created or opened |
Designed by : w10schools
service@w10schools.com
Please login to continue.