MySQL 8.0.40
Source Code Documentation
pfs_lock.h File Reference

Performance schema internal locks (declarations). More...

#include <assert.h>
#include <atomic>
#include "my_inttypes.h"

Go to the source code of this file.

Classes

struct  pfs_optimistic_state
 
struct  pfs_dirty_state
 
struct  pfs_lock
 A 'lock' protecting performance schema internal buffers. More...
 

Macros

#define MEM(X)   X
 
#define PFS_LOCK_FREE   0x00
 State of a free record. More...
 
#define PFS_LOCK_DIRTY   0x01
 State of a dirty record. More...
 
#define PFS_LOCK_ALLOCATED   0x02
 State of an allocated record. More...
 
#define VERSION_MASK   0xFFFFFFFC
 
#define STATE_MASK   0x00000003
 
#define VERSION_INC   4
 

Detailed Description

Performance schema internal locks (declarations).

Macro Definition Documentation

◆ MEM

#define MEM (   X)    X