tlds
Transactional Operations for Linked Data Structures
|
Public Member Functions | |
Callback (F f, void *arg) | |
void | eval () const |
Public Attributes | |
F | function_ |
void * | arg_ |
ITM allows users to register onCommit and onAbort handlers to execute user code during those events. The ITM interface defines the callbacks with independent type name (userCommitAction and userAbortAction), even though they are structurally equivalent (void (*)(void*)). We don't want to rely on the structural equivalence, so we use this templated struct to store and evaluate both types of callbacks.
|
inline |
|
inline |
void* itm2stm::Scope::Callback< F >::arg_ |
F itm2stm::Scope::Callback< F >::function_ |