I came up with practical asynchronous programming relatively recently, and, studying the topic in more detail, the question came up:
When creating a task using Task.Factory.StartNew (with the TaskCreationOptions.LongRunning parameter), the thread for the task is NOT selected from the pool.
What thread is selected when creating with TaskCompletionSource - from a pool or not from a pool?
PS I read, they say, these two methods are equivalent ... But I want to clarify a very important detail: which stream is selected in the second method?