MUTEX_OWNED man page on IRIX

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



MUTEX_OWNED(D3)						       MUTEX_OWNED(D3)

NAME
     MUTEX_OWNED - query whether a mutual exclusion lock is available

SYNOPSIS
     #include <sys/types.h>
     #include <sys/ksynch.h>
     #include <sys/ddi.h>
     boolean_t MUTEX_OWNED(mutex_t *lockp);

   Arguments
     lockp     Pointer to the mutual exclusion lock to be queried.

DESCRIPTION
     MUTEX_OWNED returns an indication of whether the mutual exclusion lock
     specified by lockp is currently available.

   Return Values
     MUTEX_OWNED returns TRUE (a non-zero value) if the lock was available or
     FALSE (zero) if the lock was not available.

USAGE
     The state of the lock may change and the value returned may no longer be
     valid by the time the caller sees it.  The caller is expected to
     understand that this is ``stale data'' and is either using it as a
     heuristic or has arranged for the return value to be meaningful by other
     means.

   Level
     Base or Interrupt.

   Synchronization Constraints
     Does not sleep.

     Driver-defined basic locks, read/write locks, and sleep locks may be held
     across calls to this function.

REFERENCES
     MUTEX_ALLOC(D3), MUTEX_INIT(D3), MUTEX_DEALLOC(D3), MUTEX_DESTROY(D3),
     MUTEX_LOCK(D3), MUTEX_TRYLOCK(D3), MUTEX_UNLOCK(D3), MUTEX_MINE(D3).

									Page 1

[top]

List of man pages available for IRIX

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