tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
anonymous_namespace{types.cpp} Namespace Reference

Functions

template<typename T >
T * typed_malloc (size_t N)
 

Detailed Description

Copyright (C) 2011 University of Rochester Department of Computer Science and Lehigh University Department of Computer Science and Engineering

License: Modified BSD Please see the file LICENSE.RSTM for licensing information In the types/ folder, we have a lot of data structure implementations. In some cases, the optimal implementation will have a 'noinline' function that is rarely called. To actually ensure that the 'noinline' behavior is achieved, we put the implementations of those functions here, in a separate compilation unit.

Function Documentation

template<typename T >
T* anonymous_namespace{types.cpp}::typed_malloc ( size_t  N)
inline

We use malloc a couple of times here, and this makes it a bit easier