From: simonmar@microsoft.com Date: Thu, 28 Feb 2008 15:23:32 +0000 (+0000) Subject: Updating a thunk in raiseAsync might encounter an IND; cope X-Git-Tag: Before_cabalised-GHC~240 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=65bb9b5ae78ee29100ea6bf5617b0fdbc0a100bd;hp=65bb9b5ae78ee29100ea6bf5617b0fdbc0a100bd;p=ghc-hetmet.git Updating a thunk in raiseAsync might encounter an IND; cope There was already a check to avoid updating an IND, but it was originally there to avoid a bug which doesn't exist now. Furthermore the test and update are not atomic, so another thread could be updating this thunk while we are. We have to just go ahead and update anyway - it might waste a little work, but this is a very rare case. ---