projects
/
cdsspec-compiler.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
a47982d6d291078f547acfa2d3ddf9dc33881cc5
[cdsspec-compiler.git]
/
promise.h
1
/** @file promise.h
2
*
3
* @brief Promise class --- tracks future obligations for execution
4
* related to weakly ordered writes.
5
*/
6
7
#ifndef __PROMISE_H__
8
#define __PROMISE_H__
9
#include <inttypes.h>
10
11
12
class ModelAction;
13
14
class Promise {
15
public:
16
Promise(ModelAction * act, uint64_t value);
17
private:
18
uint64_t value;
19
ModelAction *read;
20
unsigned int numthreads;
21
};
22
23
#endif