
10 Sep
2009
10 Sep
'09
5:06 a.m.
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:Bulat.Ziganshin@gmail.com