I have been trying to do this:
Create 'N' Task to execute and keep running this number of taks for a period of time, in that case
the one task finalize, then i should start a new task to keep the same number of task.
I dont know if is this possible to handle with TaskScheduler or i have to create a custom TaskScheduler.
Another option i think could work is , use TPL DataFlow Producer-Consumer when the task finish then taskscheduler take a new task generate by producer.
The question is: how can i create a new task when one finished to keep the same number of tasks?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…