standard-space-instanceBlackboard Repositorywith-blackboard-repository-lockedGoTo Top

with-blackboard-repository-locked   (&key whostate) form* => result*[Macro]

Purpose
After locking the blackboard repository, execute forms and then release the lock.

Package   :gbbopen

Module   :gbbopen-core

Arguments and values

whostate     A string (default "With Blackboard Repository Locked")
forms     An implicit progn of forms to be evaluated
results     The values returned by evaluating the last form

Returns
The values returned by evaluating the last form.

See also
    thread-whostate

Example
Lock the blackboard repository and do some stuff:

  (with-blackboard-repository-locked ()
    (do-some-stuff))

Note
The whostate value is ignored by SBCL.


The GBBopen Project


standard-space-instanceBlackboard Repositorywith-blackboard-repository-lockedGoTo Top