tlds
Transactional Operations for Linked Data Structures
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
inst.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
/*** This file declares the methods that install a new algorithm */
12
13
#ifndef INST_HPP__
14
#define INST_HPP__
15
16
#include <stm/config.h>
17
#include <
common/platform.hpp
>
18
19
namespace
stm
20
{
21
/*** forward declare to avoid extra dependencies */
22
class
TxThread;
23
24
/*** actually make all threads use the new algorithm */
25
void
install_algorithm
(
int
new_alg, TxThread*
tx
);
26
27
/*** make just this thread use a new algorith (use in ctors) */
28
void
install_algorithm_local
(
int
new_alg, TxThread*
tx
);
29
30
}
// namespace stm
31
32
#endif // INST_HPP__
platform.hpp
stm_st
Definition:
stm_fraser.c:61
stm::install_algorithm_local
void install_algorithm_local(int new_alg, TxThread *tx)
Definition:
inst.cpp:23
stm::install_algorithm
void install_algorithm(int new_alg, TxThread *tx)
Definition:
inst.cpp:47
tx
stm_tx * tx
Definition:
stmskip.cc:245
rstm
rstm-dev
libstm
inst.hpp
Generated on Thu Sep 8 2016 13:28:38 for tlds by
1.8.6