- 6
lock_init()
Initialize the locking system.
Related topics
- Functions to coordinate long-running operations across requests.
- In most environments, multiple Drupal page requests (a.k.a. threads or
processes) will execute in parallel. This leads to potential conflicts or
race conditions when two requests execute the same code at the same time. A
common example of this is a...
Code
drupal-6/includes/lock.inc, line 65
<?php
function lock_init() {
global $locks;
$locks = array();
}
?>