Commit 81bafceb authored by parcs's avatar parcs
Browse files

genSym: atomic_inc() now takes two arguments

parent d127a697
...@@ -7,7 +7,7 @@ HsInt genSym(void) { ...@@ -7,7 +7,7 @@ HsInt genSym(void) {
if (n_capabilities == 1) { if (n_capabilities == 1) {
return GenSymCounter++; return GenSymCounter++;
} else { } else {
return atomic_inc((StgWord *)&GenSymCounter); return atomic_inc((StgWord *)&GenSymCounter, 1);
} }
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment