Broken beyond repair: Control.Concurrent.SampleVar
Isaac Dupree
ml at isaac.cedarswampstudios.org
Sun Apr 12 10:08:24 EDT 2009
Bulat Ziganshin wrote:
> Hello ChrisK,
>
> Sunday, April 12, 2009, 4:18:44 PM, you wrote:
> > The problem with the current behavior is that the writeSampleVar
> > pretends to know how many blocked reader threads are waiting on a value.
> > In reality these blocked threads may have been killed.
>
> may be it's possible to add exception handling to the write operation?
more obviously importantly (I think, from that description,) is exception
handling around the blocking read operation -- after all, even thread-killing
involves an exception.
More information about the Libraries
mailing list