process-lock

$Revision: 5.0.2.4 $

Function

Package: MULTIPROCESSING

Arguments: (lock &optional lock-value whostate timeout)

This function seizes lock with the value lock-value. If the lock is already locked, the process waits for it to become free. While it waits, its whostate is temporarily replaced by the whostate argument. The default value for whostate is "Lock". The default value for lock-value is the value of sys:*current-process*. If timeout is specified and non-nil, it is the maximum number (greater than or equal to 0.1 and less than or equal to 20) of seconds to wait before abandoning the attempt to seize lock.

See multiprocessing.htm for general information on multiprocessing and process locks 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.