Query: lock_terminate
OS: osf1
Section: 9r
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
lock_terminate(9r) lock_terminate(9r)NAMElock_terminate - General: Terminates, using a complex lockSYNOPSIS#include <kern/lock.h> void lock_terminate( lock_t lock_structptr );ARGUMENTSSpecifies 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.DESCRIPTIONThe lock_terminate routine determines that the driver is done using the complex lock forever. The complex lock must be free (that is, the driver does not hold the lock) before calling lock_terminate. The kernel module must not reference the specified complex lock after calling lock_terminate.NOTESYou must call lock_init (once only) prior to calling lock_terminate to initialize the lock structure pointer for the resource. A resource, from the kernel module's standpoint, is data that more than one kernel thread can manipulate. You can store the resource in global vari- ables and in data structure members.RETURN VALUESNoneFILESSEE ALSOKernel routines: lock_done(9r), lock_init(9r), lock_try_read(9r), lock_try_write(9r), lock_write(9r) Data Structures: lock(9s) lock_terminate(9r)
Related Man Pages |
---|
lock(9s) - osf1 |
lock_read(9r) - osf1 |
lock_terminate(9r) - osf1 |
lock_try_read(9r) - osf1 |
lock_try_write(9r) - osf1 |
Similar Topics in the Unix Linux Community |
---|
how to lock keyboard without using lock command |
Passwd lock for 5days |
screen lock problem |
Set Caps and Num lock from within X? |
Linux lock problem |