No subject


Tue Aug 30 17:20:58 CDT 2005


/* Read-write locks.  */
typedef struct _pthread_rwlock_t
{
  struct _pthread_fastlock __rw_lock; /* Lock to
guarantee mutual exclusion */
  int __rw_readers;                   /* Number of
readers */
  _pthread_descr __rw_writer;         /* Identity of
writer, or NULL if none */
  _pthread_descr __rw_read_waiting;   /* Threads
waiting for reading */
  _pthread_descr __rw_write_waiting;  /* Threads
waiting for writing */
  int __rw_kind;                      /* Reader/Writer
preference selection */
  int __rw_pshared;                   /* Shared
between processes or not */
} pthread_rwlock_t;

# define PTHREAD_RWLOCK_INITIALIZER \
  { __LOCK_INITIALIZER, 0, NULL, NULL, NULL,          
    \
    PTHREAD_RWLOCK_DEFAULT_NP, PTHREAD_PROCESS_PRIVATE
}



Ciao,
Peter
hunnise at yahoo.com


__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1




More information about the wine-devel mailing list