*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> decl_simple_lock_data (9r)              
Title
Content
Arch
Section
 

decl_simple_lock_data(9r)

Contents


NAME    [Toc]    [Back]

       decl_simple_lock_data  -  General:  Declares a simple lock
       structure

SYNOPSIS    [Toc]    [Back]

       #include <kern/lock.h>

       void decl_simple_lock_data(
               char class,
               char name );

ARGUMENTS    [Toc]    [Back]

       Specifies the class of the declaration. For  example,  you
       pass  the keyword extern if you want to declare the simple
       lock structure as an external  structure.   Specifies  the
       name  you want the decl_simple_lock_data routine to assign
       to the declaration of the simple lock structure.

DESCRIPTION    [Toc]    [Back]

       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_simple_lock_data to
       declare a simple lock structure and then pass  it  to  the
       following simple lock-specific routines: simple_lock_init,
       simple_lock,  simple_lock_try,  simple_unlock,  and   simple_lock_terminate.

RETURN VALUES    [Toc]    [Back]

       None

FILES    [Toc]    [Back]

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)
[ Back ]
 Similar pages
Name OS Title
simple_lock_init Tru64 General: Initializes a simple lock structure
simple_lock_try Tru64 General: Tries to assert a simple lock
simple_unlock Tru64 General: Releases a simple lock
simple_lock_terminate Tru64 General: Terminates, using a simple lock
simple_lock Tru64 General: Asserts a simple lock
slock Tru64 General: Contains simple lock-specific information
openssl_buffer NetBSD simple character arrays structure
BUF_strdup Tru64 Simple character arrays structure
buffer Tru64 Simple character arrays structure
BUF_MEM_new OpenBSD simple character arrays structure
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service