tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TypeAlignments.h
Go to the documentation of this file.
1 /**
2  * Copyright (C) 2011
3  * University of Rochester Department of Computer Science
4  * and
5  * Lehigh University Department of Computer Science and Engineering
6  *
7  * License: Modified BSD
8  * Please see the file LICENSE.RSTM for licensing information
9  */
10 
11 #ifndef STM_ITM2STM_ARCH_X86_64_TYPE_ALIGNMENTS_H
12 #define STM_ITM2STM_ARCH_X86_64_TYPE_ALIGNMENTS_H
13 
14 namespace itm2stm {
15 // Abstracts some platform-specific alignment issues. Each arch directory
16 // implements this class appropriately to tell the barrier code if a particular
17 // type is guaranteed to be aligned on the platform.
18 template <typename T>
19 struct Aligned {
20  enum { value = false };
21 };
22 }
23 
24 #endif // STM_ITM2STM_ARCH_X86_64_TYPE_ALIGNMENTS_H
Definition: TypeAlignments.h:20