문제

Since Microsoft probably killed all download links to the Parallel Extensions CTP, I am totally lost.

I want to specify the max number of tasks running at a certain time, as I want more threads than processors. Any clue how to do this in RX?

도움이 되었습니까?

해결책 2

Haven't found any solution. Used the default ThreadPool instead.

다른 팁

Are you able to specify the TaskFactory used in RX? If so, you can create one with a TaskScheduler with an appropriate concurrency level. It's not obvious to me at the moment whether there are "stock" schedulers which allow this, or whether it's hidden away (Parallel LINQ certainly offers "maximum concurrency" options) but that's the general plan.

Of course, if you can't change which task factory is being used, this doesn't help much.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top