lock.inc

Version

1.5 (checked in on 2010/07/16 at 11:19:38 by dries)

Description

A database-mediated implementation of a locking mechanism.

Functions

Namesort iconDescription
lock_acquireAcquire (or renew) a lock, but do not block if it fails.
lock_initializeInitialize the locking system.
lock_may_be_availableCheck if lock acquired by a different process may be available.
lock_releaseRelease a lock previously acquired by lock_acquire().
lock_release_allRelease all previously acquired locks.
lock_waitWait for a lock to be available.
_lock_idHelper function to get this request's unique id.