ReactOS  0.4.14-dev-358-gbef841c
spinlock.h File Reference
#include <sys/types.h>
Include dependency graph for spinlock.h:

Go to the source code of this file.

Classes

struct  _spinlock
 

Macros

#define _SPINLOCK_INITIALIZER   { 0, 0, 0, 0 }
 
#define _SPINUNLOCK(_lck)   _spinunlock(_lck);
 
#define _SPINLOCK(_lck)   _spinlock(_lck)
 

Typedefs

typedef struct _spinlock spinlock_t
 

Functions

__BEGIN_DECLS long _atomic_lock (volatile long *)
 
void _spinlock (spinlock_t *)
 
void _spinunlock (spinlock_t *)
 
void _spinlock_debug (spinlock_t *, char *, int)
 

Macro Definition Documentation

◆ _SPINLOCK

#define _SPINLOCK (   _lck)    _spinlock(_lck)

Definition at line 60 of file spinlock.h.

◆ _SPINLOCK_INITIALIZER

#define _SPINLOCK_INITIALIZER   { 0, 0, 0, 0 }

Definition at line 54 of file spinlock.h.

◆ _SPINUNLOCK

#define _SPINUNLOCK (   _lck)    _spinunlock(_lck);

Definition at line 56 of file spinlock.h.

Typedef Documentation

◆ spinlock_t

Definition at line 52 of file spinlock.h.

Function Documentation

◆ _atomic_lock()

__BEGIN_DECLS long _atomic_lock ( volatile long )

◆ _spinlock()

◆ _spinlock_debug()

void _spinlock_debug ( spinlock_t ,
char ,
int   
)

◆ _spinunlock()

void _spinunlock ( spinlock_t )