tag_rwlock Struct Reference
[Synchronization]

#include <sync.h>


Detailed Description

A read/write lock.

A classic read/write lock. Allows multiple readers or a single writer to access a protected object. Readers will wait for any pending writer to release the lock, while a writer will wait for any pending readers to release the lock.


Data Fields

int locks
int status
CRITICAL_SECTION cs
HANDLE readwx
HANDLE writewx
DWORD writer


The documentation for this struct was generated from the following file:
Generated on Fri Aug 3 08:27:15 2007 for Network Identity Manager by Doxygen 1.5.2
© 2004-2007 Massachusetts Institute of Technology.
© 2005-2007 Secure Endpoints Inc.
Contact khimaira@mit.edu