lock_done(9r) osf1 man page | unix.com

Man Page: lock_done

Operating Environment: osf1

Section: 9r

lock_done(9r)															     lock_done(9r)

NAME
lock_done - General: Releases a complex lock
SYNOPSIS
#include <kern/lock.h> void lock_done( lock_t lock_structptr );
ARGUMENTS
Specifies a pointer to the complex lock structure, lock. The lock structure is an opaque data structure; that is, its associated members are referenced and manipulated by the operating system and not by the user of the complex lock mechanism.
DESCRIPTION
The lock_done routine releases a lock that was previously asserted by one of the following complex lock routines: lock_read, lock_try_read, lock_try_write, and lock_write.
NOTES
You must hold the lock on the resource before calling lock_done.
RETURN VALUES
None
FILES
SEE ALSO
Routines: lock_init(9r), lock_read(9r), lock_terminate(9r), lock_try_read(9r), lock_try_write(9r), lock_write(9r) Data Structures: lock(9s) lock_done(9r)
Related Man Pages
lock_init(9r) - osf1
lock_terminate(9r) - osf1
lock_write(9r) - osf1
simple_lock_init(9r) - osf1
simple_lock_try(9r) - osf1
Similar Topics in the Unix Linux Community
how to lock keyboard without using lock command
Passwd lock for 5days
Large password lock script
Help me to lock my system.
Problem with screen lock