decl_simple_lock_data man page on Tru64

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

decl_simple_lock_data(9r)			     decl_simple_lock_data(9r)

NAME
       decl_simple_lock_data - General: Declares a simple lock structure

SYNOPSIS
       #include <kern/lock.h>

       void decl_simple_lock_data(
	       char class,
	       char name );

ARGUMENTS
       Specifies  the class of the declaration. For example, you pass the key‐
       word extern if you want to declare the  simple  lock  structure	as  an
       external	  structure.   Specifies  the  name  you  want	the  decl_sim‐
       ple_lock_data routine to assign to the declaration of the  simple  lock
       structure.

DESCRIPTION
       The  decl_simple_lock_data  routine  declares  a simple lock structure,
       slock, of the specified name. You declare a simple  lock	 structure  to
       protect	data  structures and device register access. You use decl_sim‐
       ple_lock_data to declare a simple lock structure and then  pass	it  to
       the  following  simple  lock-specific  routines: simple_lock_init, sim‐
       ple_lock, simple_lock_try, simple_unlock, and simple_lock_terminate.

RETURN VALUES
       None

FILES
SEE ALSO
       Routines: simple_lock(9r),  simple_lock_try(9r),	 simple_lock_init(9r),
       simple_unlock(9r)

       Data Structures: slock(9s)

						     decl_simple_lock_data(9r)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Tru64

List of man pages available for Tru64

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