function lock_initialize

7.x lock.inc lock_initialize()

Initialize the locking system.

Related topics

1 call to lock_initialize()
_drupal_bootstrap_variables in drupal/includes/bootstrap.inc
Loads system variables and all enabled bootstrap modules.

File

drupal/includes/lock.inc, line 67
A database-mediated implementation of a locking mechanism.

Code

function lock_initialize() {
  global $locks;

  $locks = array();
}