[commit: ghc] master: Fix a comment (68ba223)

Ian Lynagh igloo at earth.li
Sun Jun 9 21:38:57 CEST 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : master

https://github.com/ghc/ghc/commit/68ba223fb3650630b4d2ec699ec72d5e73d4146b

>---------------------------------------------------------------

commit 68ba223fb3650630b4d2ec699ec72d5e73d4146b
Author: Ian Lynagh <ian at well-typed.com>
Date:   Sun Jun 9 15:52:29 2013 +0100

    Fix a comment

>---------------------------------------------------------------

 rts/PrimOps.cmm | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/rts/PrimOps.cmm b/rts/PrimOps.cmm
index e292e0a..230b929 100644
--- a/rts/PrimOps.cmm
+++ b/rts/PrimOps.cmm
@@ -1289,9 +1289,7 @@ stg_tryTakeMVarzh ( P_ mvar /* :: MVar a */ )
     info = GET_INFO(mvar);
 #endif
 
-    /* If the MVar is empty, put ourselves on its blocking queue,
-     * and wait until we're woken up.
-     */
+    /* If the MVar is empty, return 0. */
     if (StgMVar_value(mvar) == stg_END_TSO_QUEUE_closure) {
 #if defined(THREADED_RTS)
         unlockClosure(mvar, info);





More information about the ghc-commits mailing list