Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
3fad64f3
Commit
3fad64f3
authored
Jun 14, 2005
by
tharris
Browse files
[project @ 2005-06-14 10:02:11 by tharris]
Assert on nested atomic blocks
parent
91314304
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/rts/PrimOps.cmm
View file @
3fad64f3
...
...
@@ -1181,6 +1181,7 @@ atomicallyzh_fast
/* Start the memory transcation */
old_trec = StgTSO_trec(CurrentTSO);
ASSERT(old_trec == NO_TREC);
"ptr" new_trec = foreign "C" stmStartTransaction(BaseReg "ptr", old_trec "ptr");
StgTSO_trec(CurrentTSO) = new_trec;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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