function lock_release


Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/
cis7 lock_release($name)
cle7 lock_release($name)
elmsmedia7 lock_release($name)
icor7 lock_release($name)
meedjum_blog7 lock_release($name)
mooc7 lock_release($name)

Release a lock previously acquired by lock_acquire().

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


$name: The name of the lock.

Related topics

19 calls to lock_release()
advagg_build_aggregates in sites/all/modules/ulmus/advagg/advagg.module
Builds the requested CSS/JS aggregates.
advagg_get_current_hooks_hash in sites/all/modules/ulmus/advagg/advagg.module
Get the hash of all hooks & settings that affect aggregated files contents.
advagg_insert_update_db in sites/all/modules/ulmus/advagg/
Insert/Update data in advagg_files, advagg_aggregates, & advagg_aggregates_versions tables.
advagg_missing_generate in sites/all/modules/ulmus/advagg/
Generates a missing CSS/JS file and send it to client.
advagg_update_atime in sites/all/modules/ulmus/advagg/advagg.module
Update the atime value in the advagg_aggregates_versions table.

... See full list


includes/, line 247
A database-mediated implementation of a locking mechanism.


function lock_release($name) {
  global $locks;

  db_delete('semaphore')->condition('name', $name)->condition('value', _lock_id())->execute();



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.