tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
api.hpp
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 /**
12  * Use the configuration settings to define the API to use in applications
13  * that support both LIBRARY and COMPILER instrumentation.
14  *
15  * NB: This is not exactly the best way to be handling the api, since stamp
16  * uses default, but it works...
17  */
18 
19 #ifndef STM_API_HPP__
20 #define STM_API_HPP__
21 
22 #include <stm/config.h>
23 
24 #if defined(STM_API_CXXTM)
25 # include <api/cxxtm.hpp>
26 #elif defined(STM_API_STAMP)
27 # include <api/stamp.hpp>
28 #else // default
29 # include <api/library.hpp>
30 #endif
31 
32 #endif // STM_API_HPP__