tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
stm::iccsync::SWAP_ADAPTER< T, S, 1 > Struct Template Reference

#include <icc-sync.hpp>

Collaboration diagram for stm::iccsync::SWAP_ADAPTER< T, S, 1 >:

Static Public Member Functions

static T swap (volatile T *address, S value)
 

Detailed Description

template<typename T, typename S>
struct stm::iccsync::SWAP_ADAPTER< T, S, 1 >

swap when S is the same size as a T... we could probaly do this more intelligently than with a c-cast

Member Function Documentation

template<typename T , typename S >
static T stm::iccsync::SWAP_ADAPTER< T, S, 1 >::swap ( volatile T *  address,
value 
)
inlinestatic

Here is the call graph for this function:


The documentation for this struct was generated from the following file: