Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
obsidiansystems
GHC
Commits
262ad2a7
Commit
262ad2a7
authored
May 14, 2009
by
Simon Marlow
Browse files
use StgWord for the lock (fixes valgrind complaint on 64-bit machines)
parent
2a451765
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/SpinLock.h
View file @
262ad2a7
...
...
@@ -22,7 +22,7 @@
#if defined(PROF_SPIN)
typedef
struct
SpinLock_
{
StgWord
32
lock
;
StgWord
lock
;
StgWord64
spin
;
// DEBUG version counts how much it spins
}
SpinLock
;
#else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment