RW_WRLOCK 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_WRLOCK(D3)							 RW_WRLOCK(D3)

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

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

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

DESCRIPTION
     RW_WRLOCK acquires the read/write lock specified by lockp in write mode.
     If the lock is not immediately available in write 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 write mode only when the lock is not held by any context in
     either read or write mode.

     The caller will not be interrupted by signals while asleep while 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
     Read/write locks are not recursive in write mode.	A call to RW_WRLOCK
     attempting to acquire a lock that is currently held by the calling
     context will result in deadlock.

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