CUBRID Engine  latest
lockfree_bitmap.hpp File Reference
#include <atomic>
Include dependency graph for lockfree_bitmap.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  lockfree::bitmap
 

Namespaces

 lockfree
 

Macros

#define LF_BITMAP_FULL_USAGE_RATIO   lockfree::bitmap::FULL_USAGE_RATIO
 
#define LF_BITMAP_95PERCENTILE_USAGE_RATIO   lockfree::bitmap::NINTETYFIVE_PERCENTILE_USAGE_RATIO
 
#define LF_BITFIELD_WORD_SIZE   (int) (sizeof (unsigned int) * 8)
 
#define LF_BITMAP_IS_FULL(bitmap)   (bitmap)->is_full ()
 
#define LF_BITMAP_COUNT_ALIGN(count)   (((count) + (LF_BITFIELD_WORD_SIZE) - 1) & ~((LF_BITFIELD_WORD_SIZE) - 1))
 

Typedefs

using LF_BITMAP = lockfree::bitmap
 
using LF_BITMAP_STYLE = lockfree::bitmap::chunking_style
 

Variables

static const LF_BITMAP_STYLE LF_BITMAP_ONE_CHUNK = LF_BITMAP_STYLE::ONE_CHUNK
 
static const LF_BITMAP_STYLE LF_BITMAP_LIST_OF_CHUNKS = LF_BITMAP_STYLE::LIST_OF_CHUNKS
 

Macro Definition Documentation

#define LF_BITFIELD_WORD_SIZE   (int) (sizeof (unsigned int) * 8)
#define LF_BITMAP_95PERCENTILE_USAGE_RATIO   lockfree::bitmap::NINTETYFIVE_PERCENTILE_USAGE_RATIO

Definition at line 83 of file lockfree_bitmap.hpp.

#define LF_BITMAP_COUNT_ALIGN (   count)    (((count) + (LF_BITFIELD_WORD_SIZE) - 1) & ~((LF_BITFIELD_WORD_SIZE) - 1))

Definition at line 89 of file lockfree_bitmap.hpp.

Referenced by area_create(), and lf_tran_system_init().

#define LF_BITMAP_FULL_USAGE_RATIO   lockfree::bitmap::FULL_USAGE_RATIO

Definition at line 82 of file lockfree_bitmap.hpp.

Referenced by lf_tran_system_init().

#define LF_BITMAP_IS_FULL (   bitmap)    (bitmap)->is_full ()

Definition at line 87 of file lockfree_bitmap.hpp.

Referenced by area_alloc(), area_free(), and lockfree::lf_bitmap_get_entry().

Typedef Documentation

Definition at line 75 of file lockfree_bitmap.hpp.

Variable Documentation

const LF_BITMAP_STYLE LF_BITMAP_LIST_OF_CHUNKS = LF_BITMAP_STYLE::LIST_OF_CHUNKS
static
const LF_BITMAP_STYLE LF_BITMAP_ONE_CHUNK = LF_BITMAP_STYLE::ONE_CHUNK
static