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

  man pages->Tru64 Unix man pages -> slock (9s)              



NAME    [Toc]    [Back]

       slock - General: Contains simple lock-specific information

SYNOPSIS    [Toc]    [Back]

       The slock data 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  simple
       lock  method.  Therefore,  this  reference  page  omits  a
       description of the slock data structure's associated  members.

DESCRIPTION    [Toc]    [Back]

       The slock data structure is the simple spin lock structure
       that contains simple lock-specific information.  The  user
       of  the simple lock method declares a slock data structure
       by calling the decl_simple_lock_data  routine.  In  subsequent
   calls   to   simple_lock,  simple_lock_init,  simple_lock_try,
 and simple_unlock,  the  caller  passes  the
       address of the previously declared slock data structure.

NOTES    [Toc]    [Back]

       The  header  file  <lock.h>  shows typedef statements that
       assign the alternate name simple_lock_data_t for the  simple
 spin lock structure and simple_lock_t for a pointer to
       the simple spin lock structure.

FILES    [Toc]    [Back]

       Routines: decl_simple_lock_data(9r), simple_lock(9r), simple_lock_init(9r),     simple_lock_terminate(9r),     simple_lock_try(9r), simple_unlock(9r)

       Data Structures: lock(9s)

[ Back ]
 Similar pages
Name OS Title
lock Tru64 General: Contains complex lock-specific information
simple_lock Tru64 General: Asserts a simple lock
simple_lock_try Tru64 General: Tries to assert a simple lock
simple_lock_terminate Tru64 General: Terminates, using a simple lock
simple_unlock Tru64 General: Releases a simple lock
simple_lock_init Tru64 General: Initializes a simple lock structure
decl_simple_lock_data Tru64 General: Declares a simple lock structure
usdumplock IRIX dump out information about a specific lock
task Tru64 General: Contains task-specific information
get_info Tru64 General: Returns system-specific information
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service