lock_terminate man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

lock_terminate(9r)					    lock_terminate(9r)

NAME
       lock_terminate - General: Terminates, using a complex lock

SYNOPSIS
       #include <kern/lock.h>

       void lock_terminate(
	       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_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  ker‐
       nel  module must not reference the specified complex lock after calling
       lock_terminate.

NOTES
       You 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 variables
       and in data structure members.

RETURN VALUES
       None

FILES
SEE ALSO
       Kernel  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)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net