
11 Apr
2006
11 Apr
'06
8:35 a.m.
John Meacham
forkIO action = forkIO' action' where action' = do myThreadId >>= onExit . throwTo PleaseExit action
This would be a memory leak: even after the thread finishes, its onExit handler would remain registered. -- __("< Marcin Kowalczyk \__/ qrczak@knm.org.pl ^^ http://qrnik.knm.org.pl/~qrczak/