ReactOS 0.4.16-dev-122-g325d74c
rwlock.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  _NDIS_RW_LOCK_REFCOUNT
 
struct  _NDIS_RW_LOCK
 
struct  _LOCK_STATE
 

Macros

#define MAXIMUM_PROCESSORS   32
 
#define RWLOCK_STATE_FREE   0
 
#define RWLOCK_STATE_READ_ACQUIRED   1
 
#define RWLOCK_STATE_WRITE_ACQUIRED   2
 
#define RWLOCK_STATE_RECURSIVE   3
 
#define RWLOCK_STATE_RELEASED   0xffff
 
#define RWLOCK_FOR_WRITE   TRUE
 
#define RWLOCK_FOR_READ   FALSE
 

Typedefs

typedef union _NDIS_RW_LOCK_REFCOUNT NDIS_RW_LOCK_REFCOUNT
 
typedef struct _NDIS_RW_LOCK NDIS_RW_LOCK
 
typedef struct _NDIS_RW_LOCKPNDIS_RW_LOCK
 
typedef struct _LOCK_STATE LOCK_STATE
 
typedef struct _LOCK_STATEPLOCK_STATE
 

Macro Definition Documentation

◆ MAXIMUM_PROCESSORS

#define MAXIMUM_PROCESSORS   32

Definition at line 5 of file rwlock.h.

◆ RWLOCK_FOR_READ

#define RWLOCK_FOR_READ   FALSE

Definition at line 37 of file rwlock.h.

◆ RWLOCK_FOR_WRITE

#define RWLOCK_FOR_WRITE   TRUE

Definition at line 36 of file rwlock.h.

◆ RWLOCK_STATE_FREE

#define RWLOCK_STATE_FREE   0

Definition at line 30 of file rwlock.h.

◆ RWLOCK_STATE_READ_ACQUIRED

#define RWLOCK_STATE_READ_ACQUIRED   1

Definition at line 31 of file rwlock.h.

◆ RWLOCK_STATE_RECURSIVE

#define RWLOCK_STATE_RECURSIVE   3

Definition at line 33 of file rwlock.h.

◆ RWLOCK_STATE_RELEASED

#define RWLOCK_STATE_RELEASED   0xffff

Definition at line 34 of file rwlock.h.

◆ RWLOCK_STATE_WRITE_ACQUIRED

#define RWLOCK_STATE_WRITE_ACQUIRED   2

Definition at line 32 of file rwlock.h.

Typedef Documentation

◆ LOCK_STATE

◆ NDIS_RW_LOCK

◆ NDIS_RW_LOCK_REFCOUNT

◆ PLOCK_STATE

◆ PNDIS_RW_LOCK