[Haskell-cafe] Re: Cleaning up threads
Evan Laforge
qdunkan at gmail.com
Tue Sep 14 14:46:10 EDT 2010
> Ertugrul's advice is still correct. I'd wager there are very few concurrent
> applications that could survive a killThread without disaster. People simply
> don't write or test code with that in mind, and even when they do, it's more
> likely than not to be wrong.
Does this apply to pure code? I use threads to gradually force some
data, if it turns out the data won't be needed the threads are killed.
I've never had a disaster because of it.
More information about the Haskell-Cafe
mailing list