This is a random idea, that's probably not going to work, but I don't have a
way of testing it so I'll just post it!
How about using unsafeInterleaveIO to get a lazy suspension of the result of
each action, and then using par to spark off each of them? If that works you
can reuse the existing task-
Hello Neil,
Tuesday, April 7, 2009, 2:25:12 PM, you wrote:
> The problem I'm trying to solve is running system commands in
> parallel.
"system commands" means execution of external commands or just system
calls inside Haskell?
> Running a benchmark of issuing 1 million trivial tasks (create,
>
Hi,
I've written a parallel_ function, code attached. I'm looking for
criticism, suggestions etc on how to improve the performance and
fairness of this parallel construct. (If it turns out this construct
is already in a library somewhere, I'd be interested in that too!)
The problem I'm trying to