Commit 68ba223f authored by ian@well-typed.com's avatar ian@well-typed.com

Fix a comment

parent f7c8c3d4
......@@ -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);
......
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