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

Fix a comment

parent f7c8c3d4
...@@ -1289,9 +1289,7 @@ stg_tryTakeMVarzh ( P_ mvar /* :: MVar a */ ) ...@@ -1289,9 +1289,7 @@ stg_tryTakeMVarzh ( P_ mvar /* :: MVar a */ )
info = GET_INFO(mvar); info = GET_INFO(mvar);
#endif #endif
/* If the MVar is empty, put ourselves on its blocking queue, /* If the MVar is empty, return 0. */
* and wait until we're woken up.
*/
if (StgMVar_value(mvar) == stg_END_TSO_QUEUE_closure) { if (StgMVar_value(mvar) == stg_END_TSO_QUEUE_closure) {
#if defined(THREADED_RTS) #if defined(THREADED_RTS)
unlockClosure(mvar, info); 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