Generic Function | Package: mp | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 This page is new in 9.0.

## lockedp

Arguments: lock &optional force-memory-synch

Returns `t` if the lock is held by anyone, `nil` if it is free.

lock must be an instance of `lockable-object` or of a subclass of `lockable-object`, or an instance of excl::lockable-structure or of a structure class that inherits from excl::lockable-structure.

If the force-memory-synch argument is present and non-`nil`, a memory synchronization operation will be used to ensure that an out-of-date cached state is not erroneously consulted to determine the answer.

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

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page is new in the 9.0 release.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 This page is new in 9.0.