CUBRID Engine
latest
|
#include <atomic>
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 |
#define LF_BITFIELD_WORD_SIZE (int) (sizeof (unsigned int) * 8) |
Definition at line 85 of file lockfree_bitmap.hpp.
Referenced by lockfree::lf_bitmap_free_entry(), lockfree::lf_bitmap_get_entry(), lockfree::lf_bitmap_init(), lf_tran_compute_minimum_transaction_id(), and test_area().
#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().
using LF_BITMAP = lockfree::bitmap |
Definition at line 75 of file lockfree_bitmap.hpp.
Definition at line 77 of file lockfree_bitmap.hpp.
|
static |
Definition at line 79 of file lockfree_bitmap.hpp.
Referenced by area_alloc_block(), lockfree::lf_bitmap_free_entry(), lockfree::lf_bitmap_get_entry(), and lockfree::lf_bitmap_init().
|
static |
Definition at line 78 of file lockfree_bitmap.hpp.
Referenced by lockfree::lf_bitmap_destroy(), lockfree::lf_bitmap_get_entry(), and lf_tran_system_init().