lock_done - General: Releases a complex lock
lock_t lock_structptr );
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
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.
You must hold the lock on the resource before calling
Routines: lock_init(9r), lock_read(9r), lock_terminate(9r), lock_try_read(9r), lock_try_write(9r),
Data Structures: lock(9s)
[ Back ]