You are here

function apc_get_lock in APC - Alternative PHP Cache 5

Same name and namespace in other branches
  1. 6 apc.inc \apc_get_lock()
2 calls to apc_get_lock()
apc_handle_flush in ./apc.inc
Flush data from apc cache
apc_handle_set in ./apc.inc
Set data into apc cache. We have to keep track of the bins ourselves since apc doesn't have the concept of "bins". So we keep a lookup table hash to be able to clear a single bin via flush.

File

./apc.inc, line 253

Code

function apc_get_lock($bin) {
  apc_store('apc_lock_' . $bin, TRUE);
  return TRUE;
}