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
a106bbff
Commit
a106bbff
authored
Jan 19, 2006
by
sof
Browse files
[project @ 2006-01-19 02:15:38 by sof]
tryPutMVarzh_fast: make it work in the non-full case. Merge to STABLE.
parent
f8dd6b45
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/rts/PrimOps.cmm
View file @
a106bbff
...
...
@@ -1729,7 +1729,6 @@ tryPutMVarzh_fast
#if defined(SMP)
foreign "C" unlockClosure(mvar "ptr", stg_EMPTY_MVAR_info);
#endif
jump %ENTRY_CODE(Sp(0));
}
else
{
...
...
@@ -1741,9 +1740,9 @@ tryPutMVarzh_fast
#else
SET_INFO(mvar,stg_FULL_MVAR_info);
#endif
jump %ENTRY_CODE(Sp(0));
}
RET_N(1);
/* ToDo: yield afterward for better communication performance? */
}
...
...
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