X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FRtsAPI.c;h=b1b1d9c52d7f4c4e53e87547039887ad065e5107;hb=45252b35151fc55aa19fb6770df5ed8267639083;hp=45c09d874eea0fb883936a28a3fb3abda92cf8a7;hpb=03a9ff01812afc81eb5236fd3063cbec44cf469e;p=ghc-hetmet.git diff --git a/ghc/rts/RtsAPI.c b/ghc/rts/RtsAPI.c index 45c09d8..b1b1d9c 100644 --- a/ghc/rts/RtsAPI.c +++ b/ghc/rts/RtsAPI.c @@ -578,7 +578,7 @@ rts_unlock (Capability *cap) Task *task; task = cap->running_task; - ASSERT(task == myTask()); + ASSERT_FULL_CAPABILITY_INVARIANTS(cap,task); // slightly delicate ordering of operations below, pay attention!