You are here

function _apdqc_lock_initialize in Asynchronous Prefetch Database Query Cache 7

Same name in this branch
  1. 7 apdqc.lock.apc.inc \_apdqc_lock_initialize()
  2. 7 apdqc.lock.db.inc \_apdqc_lock_initialize()
  3. 7 apdqc.lock.memcache_storage.inc \_apdqc_lock_initialize()
  4. 7 apdqc.lock.memcache.inc \_apdqc_lock_initialize()
  5. 7 apdqc.lock.redis.inc \_apdqc_lock_initialize()

Initialize the locking system.

Related topics

1 call to _apdqc_lock_initialize()
apdqc.lock.inc in ./apdqc.lock.inc
A database-mediated implementation of a locking mechanism.
1 string reference to '_apdqc_lock_initialize'
apdqc.lock.inc in ./apdqc.lock.inc
A database-mediated implementation of a locking mechanism.

File

./apdqc.lock.db.inc, line 68
A database-mediated implementation of a locking mechanism.

Code

function _apdqc_lock_initialize() {
  global $locks;
  $locks = array();
}