projects
/
cdsspec-compiler.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fe0eea
)
bug in race detector
author
Brian Demsky
<bdemsky@uci.edu>
Wed, 5 Sep 2012 07:27:23 +0000
(
00:27
-0700)
committer
Brian Demsky
<bdemsky@uci.edu>
Wed, 5 Sep 2012 07:27:23 +0000
(
00:27
-0700)
datarace.cc
patch
|
blob
|
history
diff --git
a/datarace.cc
b/datarace.cc
index f0d3dc619489d780ea7e9be237b2007d428a4b33..fb9ca61a10c38fb729ab7b2b71db33fc23a121dd 100644
(file)
--- a/
datarace.cc
+++ b/
datarace.cc
@@
-252,5
+252,5
@@
void raceCheckRead(thread_id_t thread, void *location, ClockVector *currClock) {
return;
}
- *shadow = ENCODEOP(
writeThread, writeClock, threadid, our
Clock);
+ *shadow = ENCODEOP(
threadid, ourClock, id_to_int(writeThread), write
Clock);
}