I updated my code to use Tasks instead of threads....
Looking at memory usage and CPU I do not notices any improvements on the multi-core PC, Is this expected?
M
If you simply replaced every usage of Thread
with Task
and did no other changes I would expect virtually the same performance. The Task
API is really just that, it's an API over an existing set of constructs. Under the hood it uses threads to schedule it's activities and hence has similar performance characteristics.
What's great about Task
are the new things you can do with them
ContinueWith