Commit 3fad64f3 authored by tharris's avatar tharris
Browse files

[project @ 2005-06-14 10:02:11 by tharris]

Assert on nested atomic blocks
parent 91314304
......@@ -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;
......
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