mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00

committed by
GitHub

parent
4e2cd24399
commit
03052621b7
@ -98,10 +98,11 @@ abstract class Mutex extends Component
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if a lock is currently acquired
|
||||
* Checks if a lock is acquired by the current process.
|
||||
* Note that it returns false if the mutex is acquired in another process.
|
||||
*
|
||||
* @param string $name of the lock to check
|
||||
* @return bool Returns true if currently acquired
|
||||
* @param string $name of the lock to check.
|
||||
* @return bool Returns true if currently acquired.
|
||||
* @since 2.0.36
|
||||
*/
|
||||
public function isAcquired($name)
|
||||
|
Reference in New Issue
Block a user