with-process-lock

$Revision: 5.0.2.4 $

Macro

Package: MULTIPROCESSING

Arguments: ((lock &key timeout norecursive seized whostate) &body body)

This macro executes the body with lock seized. Unlike mp:process-lock, mp:with-process-lock protects against a single process trying to seize a lock it already owns. If executed dynamically inside another mp:with-process-lock for the same lock, and if norecursive is nil, mp:with-process-lock is a no-op. If norecursive is t, an error is signaled. The default value of norecursive is nil.

See multiprocessing.htm for general information on multiprocessing in Allegro CL.

The general documentation description is in introduction.htm. The index in index.htm.

Copyright (C) 1998-1999, Franz Inc., Berkeley, CA. All Rights Reserved.