tlds
Transactional Operations for Linked Data Structures
|
#include <library_inst.hpp>
Classes | |
struct | InvalidTypeAsSecondTemplateParameter |
Static Public Member Functions | |
static TM_INLINE T | read (T *addr, TxThread *thread) |
static TM_INLINE void | write (T *addr, T val, TxThread *thread) |
The DISPATCH class takes an address and a type, and determines which words (represented as void*s) ought to be read and written to effect a read or write of the given type, from the given address.
NB: if the compiler can't find a valid specialization, it will use this variant, which will cause an error. This is the desired behavior.
|
inlinestatic |
|
inlinestatic |