DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Threads

Locks

The semantics of a ``lock'' allow the resource to be used by only one thread at a time. The Threads Library supports several types of locks:

A thread that successfully locks a resource is said to ``hold the lock'' or to ``have acquired the lock''. Unlocking is also known as ``releasing the lock''.


Next topic: Mutual exclusion locks
Previous topic: Synchronizing threads

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004