projects
/
IRC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
changes
[IRC.git]
/
Robust
/
src
/
Runtime
/
STM
/
tm.h
diff --git
a/Robust/src/Runtime/STM/tm.h
b/Robust/src/Runtime/STM/tm.h
index 864de75e28b768da6208c10004a03907b8d1ac27..9f3bdb9fe1b9dc543f35f042e8120e22ab6a79e1 100644
(file)
--- a/
Robust/src/Runtime/STM/tm.h
+++ b/
Robust/src/Runtime/STM/tm.h
@@
-94,6
+94,7
@@
typedef struct objheader {
#define NEED_LOCK_THRESHOLD 0.020000
#define OSUSED(x) (((unsigned INTPTR)(x)->top)-((unsigned INTPTR) (x+1)))
#define OSFREE(x) ((x)->size-OSUSED(x))
+
#define TRANSREAD(x,y,z) { \
void * inputvalue; \
if ((inputvalue=y)==NULL) x=NULL;\