Lines 18-23
Link Here
|
18 |
#ifndef ELIDE_H |
18 |
#ifndef ELIDE_H |
19 |
#define ELIDE_H 1 |
19 |
#define ELIDE_H 1 |
20 |
|
20 |
|
|
|
21 |
#ifdef ENABLE_LOCK_ELISION |
22 |
|
21 |
#include <hle.h> |
23 |
#include <hle.h> |
22 |
#include <elision-conf.h> |
24 |
#include <elision-conf.h> |
23 |
|
25 |
|
Lines 106-109
elision_adapt(signed char *adapt_count, unsigned int status)
Link Here
|
106 |
ret; \ |
108 |
ret; \ |
107 |
}) |
109 |
}) |
108 |
|
110 |
|
|
|
111 |
#else |
112 |
|
113 |
#define ELIDE_LOCK(adapt_count, is_lock_free) 0 |
114 |
#define ELIDE_TRYLOCK(adapt_count, is_lock_free, write) 0 |
115 |
#define ELIDE_UNLOCK(is_lock_free) 0 |
116 |
|
117 |
#endif |
109 |
#endif |
118 |
#endif |