Generic Function | Package: mp | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version