tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
stm::Object Struct Reference

#include <library.hpp>

Collaboration diagram for stm::Object:

Public Member Functions

void * operator new (size_t size)
 
void operator delete (void *ptr)
 
virtual ~Object ()
 

Detailed Description

Master class for all objects that are used in transactions, to ensure that those objects have tx-safe allocation

WARNING: DEPRECATED

We no longer use the Object class.  In G++ it is unsafe to call
destructors from within a transaction (they trash the vtable
pointer in an unrecoverable way!), and some compilers don't handle
new() within a transaction correctly.  Ugly though it is, for now,
you should just use malloc and free to create objects.

Constructor & Destructor Documentation

virtual stm::Object::~Object ( )
inlinevirtual

Member Function Documentation

void stm::Object::operator delete ( void *  ptr)
inline

Here is the call graph for this function:

void* stm::Object::operator new ( size_t  size)
inline

Here is the call graph for this function:


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