
17 Nov
2015
17 Nov
'15
11:25 a.m.
Is there a way to not raise this exception, and block the thread?
You can always prevent these blocked indefinitely exceptions by making a stable pointer to the threadId. This works because using ThreadId an Exception could be thrown to that thread, which would cause it to continue (and not block indefinitely). https://ghc.haskell.org/trac/ghc/ticket/10759 Cheers Silvio