lock.inc

Version 1.1.2.4 (checked in on 2010-05-11 at 09:30:20 by goba)

A database-mediated implementation of a locking mechanism.

Functions

NameDescription
lock_acquireAcquire (or renew) a lock, but do not block if it fails.
lock_initInitialize 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.

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options