Skip to content

Commit

Permalink
[project @ 2006-01-19 02:15:38 by sof]
Browse files Browse the repository at this point in the history
tryPutMVarzh_fast: make it work in the non-full case.

Merge to STABLE.
  • Loading branch information
sof committed Jan 19, 2006
1 parent f8dd6b4 commit a106bbf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ghc/rts/PrimOps.cmm
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -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? */
}

Expand Down

0 comments on commit a106bbf

Please sign in to comment.