RW_TRYRDLOCK man page on IRIX

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



RW_TRYRDLOCK(D3)					      RW_TRYRDLOCK(D3)

NAME
     RW_TRYRDLOCK - try to acquire a read/write lock in read mode

SYNOPSIS
     #include <sys/ksynch.h>
     #include <sys/ddi.h>
     boolean_t RW_TRYRDLOCK(rwlock_t *lockp);

   Arguments
     lockp     Pointer to the read/write lock to be acquired.

DESCRIPTION
     If the lock specified by lockp is immediately available (can be acquired
     in read mode without sleeping) the RW_TRYRDLOCK function acquires the
     lock.  If the lock is not immediately available, RW_TRYRDLOCK returns
     without acquiring the lock.

   Return Values
     RW_TRYRDLOCK returns TRUE (a non-zero value) if the lock is successfully
     acquired or FALSE (zero) if the lock is not acquired.

USAGE
   Level
     Base or Interrupt.

   Synchronization Constraints
     Does not sleep.

     Driver-defined basic locks, and sleeping locks may be held across calls
     to this function.

REFERENCES
     RW_ALLOC(D3), RW_INIT(D3), RW_DEALLOC(D3), RW_DESTROY(D3), RW_RDLOCK(D3),
     RW_WRLOCK(D3), RW_TRYWRLOCK(D3), RW_UNLOCK(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