Question

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?

Was it helpful?

Solution 2

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

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top