Hello Anakim, Wednesday, September 9, 2009, 11:58:58 PM, you wrote:
> foresee. I guess a possible solution would be to base parMap on > different 'par' primitive; one that sparks a number of computations > equal to the number of available OS threads and then blocks until at > least one of them is done. actually you should ask RTS -N value, that should be available via internal RTS structures. and then user, optionally, may link in a code that sets RTS -N to the number of hardware threads -- Best regards, Bulat mailto:[email protected] _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
