libfoedus-core
FOEDUS Core Library
xct_mcs_adapter_impl.hpp File Reference
#include <atomic>
#include <memory>
#include <vector>
#include "foedus/assert_nd.hpp"
#include "foedus/compiler.hpp"
#include "foedus/memory/aligned_memory.hpp"
#include "foedus/memory/page_resolver.hpp"
#include "foedus/storage/page.hpp"
#include "foedus/storage/storage_id.hpp"
#include "foedus/thread/thread_id.hpp"
#include "foedus/xct/xct_id.hpp"
Include dependency graph for xct_mcs_adapter_impl.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  foedus::xct::McsAdaptorConcept< RW_BLOCK >
 Defines an adapter template interface for our MCS lock classes. More...
 
struct  foedus::xct::McsMockThread< RW_BLOCK >
 A dummy implementation that provides McsAdaptorConcept for testing. More...
 
struct  foedus::xct::McsMockDataPage
 A dummy page layout to store RwLockableXctId. More...
 
struct  foedus::xct::McsMockNode< RW_BLOCK >
 Analogous to one thread-group/socket/node. More...
 
struct  foedus::xct::McsMockContext< RW_BLOCK >
 Analogous to the entire engine. More...
 
class  foedus::xct::McsMockAdaptor< RW_BLOCK >
 Implements McsAdaptorConcept. More...
 

Namespaces

 foedus
 Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
 
 foedus::xct
 Transaction Manager, which provides APIs to begin/commit/abort transactions.
 

Variables

constexpr uint32_t foedus::xct::kMcsMockDataPageHeaderSize = 128U
 
constexpr uint32_t foedus::xct::kMcsMockDataPageHeaderPad = kMcsMockDataPageHeaderSize - sizeof(storage::PageHeader)
 
constexpr uint32_t foedus::xct::kMcsMockDataPageLocksPerPage
 
constexpr uint32_t foedus::xct::kMcsMockDataPageFiller