Browsing All posts tagged under »TPL«

Long Running Tasks and Threads

December 13, 2012


There appears to be some confusion and/or uncertaintly on whether a TPL task with TaskCreationOption.LongRunning always will run on it’s own thread or occasionally execute on either the caller’s thread or a ThreadPool thread. I suspect a lot of it comes from the choice of language in the MSDN documentation: “LongRunning Specifies that a task […]