tlds
Transactional Operations for Linked Data Structures
|
#include <cm.hpp>
Static Public Member Functions | |
static void | onBegin (TxThread *tx) |
static void | onAbort (TxThread *tx) |
static void | onCommit (TxThread *tx) |
static bool | mayKill (TxThread *, uint32_t) |
Static Public Attributes | |
static const uint32_t | ABORT_THRESHOLD = 2 |
Hourglass+Backoff CM: a concerned transaction serializes all execution
|
inlinestatic |
During the transaction, always abort conflicting transactions
|
inlinestatic |
On abort, get a timestamp if I exceed some threshold
|
inlinestatic |
On begin, block if there is a distinguished transaction
|
inlinestatic |
On commit, release my timestamp
|
static |