Home > PHP > Function > WinCache > wincache_unlock()

wincache_unlock()

wincache_unlock - Releases an exclusive lock on a given key

Syntax

bool wincache_unlock (string $key)

Arguments

  • key - Name of the key in the cache to release the lock on.

Description

Releases an exclusive lock that was obtained on a given key by using wincache_lock(). If any other process was blocked waiting for the lock on this key, that process will be able to obtain the lock.

Version

PHP No version information available, might only be in SVN

Return value

Returns TRUE on success or FALSE on failure.