RW_RDLOCK 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_RDLOCK(D3)							 RW_RDLOCK(D3)

NAME
     RW_RDLOCK - acquire a read/write lock in read mode

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

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

DESCRIPTION
     RW_RDLOCK acquires the read/write lock specified by lockp in read mode.
     If the lock is not immediately available in read mode, the caller is put
     to sleep (the caller's execution is suspended and other processes may be
     scheduled) until the lock becomes available to the caller, at which point
     the caller wakes up and returns with the lock held.  A read/write lock is
     available in read mode when the lock is not held by any context in write
     mode.

     The caller will not be interrupted by signals while asleep waiting to
     acquire the read/write lock.

   Return Values
     None

   Level
     Base only.

   Synchronization Constraints
     Can sleep.

     Driver-defined basic locks may not be held across calls to this function.

     Driver-defined sleep locks may be held across calls to this function
     subject to the recursion restrictions described below.

   Warnings
     Multiple calls to RW_RDLOCK may be made to acquire the same lock, but a
     context that holds a read/write lock in write mode cannot acquire the
     same lock in read mode, and vice versa.

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