Same name in this branch
  1. 6.x includes/lock.inc \lock_release()
  2. 6.x includes/lock-install.inc \lock_release()
Same name and namespace in other branches
  1. 7.x includes/lock.inc \lock_release()

Release a lock previously acquired by lock_acquire().

This will release the named lock if it is still held by the current request.

Parameters

$name: The name of the lock.

3 calls to lock_release()
menu_rebuild in includes/menu.inc
(Re)populate the database tables used by various menu functions.
module_rebuild_cache in includes/module.inc
Rebuild the database cache of module files.
system_theme_data in modules/system/system.module
Collect data about all currently available themes.

File

includes/lock-install.inc, line 55
A stub lock implementation to be used during the installation process when database access is not yet available. Because Drupal's install system should never be running in more than on concurrant request, we can bypass any need for locking.

Code

function lock_release($name) {
}