PostgreSQL Source Code  git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
spin.h File Reference
#include "storage/s_lock.h"
Include dependency graph for spin.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SpinLockInit(lock)   S_INIT_LOCK(lock)
 
#define SpinLockAcquire(lock)   S_LOCK(lock)
 
#define SpinLockRelease(lock)   S_UNLOCK(lock)
 
#define SpinLockFree(lock)   S_LOCK_FREE(lock)
 

Macro Definition Documentation

◆ SpinLockAcquire

#define SpinLockAcquire (   lock)    S_LOCK(lock)

Definition at line 59 of file spin.h.

◆ SpinLockFree

#define SpinLockFree (   lock)    S_LOCK_FREE(lock)

Definition at line 63 of file spin.h.

◆ SpinLockInit

#define SpinLockInit (   lock)    S_INIT_LOCK(lock)

Definition at line 57 of file spin.h.

◆ SpinLockRelease

#define SpinLockRelease (   lock)    S_UNLOCK(lock)

Definition at line 61 of file spin.h.