Relative Content

Tag Archive for .nettask-parallel-librarythreadpool

Differences Between ThreadPool and TaskPool Used by Task vs Thread in .NET

I’m currently researching the differences between taskpool and threadpool. But I could not find a concept called taskpool directly, I am always directed to the TPL issue.
I’m researching the usage of Task and Thread in .NET and I’m having trouble understanding some key differences. Specifically, I would like to know whether the ThreadPool used by the Task class is different from the one used by the Thread class. Also, how does context switching differ between these two structures?