throwTo + unsafeInterleaveIO oddness
I suspect this is related/dup of #418 but it's biting me with something I've been doing, so here's another test case.
I have a long-running computation which returns a list which I then consume.
I'm working on a visualizer app, where I want to update the visualizer in real-time while running the computation.
I wrote some glue which takes the list and computes it in a background thread, returning a piece every X microseconds.
Code will be attached.
Trac metadata
Trac field | Value |
---|---|
Version | 6.6.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Runtime System |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |