projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2a45176
)
use StgWord for the lock (fixes valgrind complaint on 64-bit machines)
author
Simon Marlow
<marlowsd@gmail.com>
Thu, 14 May 2009 14:55:24 +0000
(14:55 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Thu, 14 May 2009 14:55:24 +0000
(14:55 +0000)
includes/SpinLock.h
patch
|
blob
|
history
diff --git
a/includes/SpinLock.h
b/includes/SpinLock.h
index
8684030
..
76fcd4e
100644
(file)
--- a/
includes/SpinLock.h
+++ b/
includes/SpinLock.h
@@
-22,7
+22,7
@@
#if defined(PROF_SPIN)
typedef struct SpinLock_
{
- StgWord32 lock;
+ StgWord lock;
StgWord64 spin; // DEBUG version counts how much it spins
} SpinLock;
#else