This is the trivial-object-lock Reference Manual, version 0.3.4, generated automatically by Declt version 4.0 beta 2 "William Riker" on Tue Jul 15 06:55:46 2025 GMT+0.
The main system appears first, followed by any subsystem dependency.
trivial-object-lockA simple method to lock object (and slot) access.
Eric Diethelm <ediethelm@yahoo.com>
MIT
0.3.4
trivial-utilities (system).
log4cl (system).
bordeaux-threads (system).
iterate (system).
package.lisp (file).
trivial-object-lock.lisp (file).
Files are sorted by type and then listed depth-first from the systems components trees.
trivial-object-lock/trivial-object-lock.asdtrivial-object-lock/package.lisptrivial-object-lock/trivial-object-lock.lisptrivial-object-lock/trivial-object-lock.asdtrivial-object-lock (system).
trivial-object-lock/package.lisptrivial-object-lock (system).
trivial-object-lock/trivial-object-lock.lisptrivial-object-lock (system).
acquire-lock (function).
interrupt-execution (condition).
lock-timeout (condition).
release-lock (function).
with-object-lock-held (macro).
*function-lock* (special variable).
*lock-queue-counter* (special variable).
*locks-held* (special variable).
find-next-waiting-lock (function).
Packages are listed by definition order.
trivial-object-locktrivial-object-lock provides a simple and probably naïve way to lock objects. Only real USP is its ability to lock object slots independently.
common-lisp.
acquire-lock (function).
interrupt-execution (condition).
lock-timeout (condition).
release-lock (function).
with-object-lock-held (macro).
*function-lock* (special variable).
*lock-queue-counter* (special variable).
*locks-held* (special variable).
find-next-waiting-lock (function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Supporting macro to simplify usage of *ACQUIRE-LOCK* and *RELEASE-LOCK*.
Acquire a lock on the given *OBJECT*. When not *NIL*, *PROPERTY* will be used to create a *PARTIAL-LOCK* on *OBJECT*; otherwise a *FULL-LOCK* is created.
Returns *NIL* if the lock was acquired; otherwise it returns a conditional variable to wait on.
Releases the lock held by the current thread on *OBJECT* and *PROPERTY*.
Relates to *ACQUIRE-LOCK*
| Jump to: | A F M R W |
|---|
| Jump to: | A F M R W |
|---|
| Jump to: | *
S |
|---|
| Jump to: | *
S |
|---|
| Jump to: | C F I L P S T |
|---|
| Jump to: | C F I L P S T |
|---|