of a task out of nowhere? Like, when I lock the resource for a particular thread and that thread is now doing other stuff? Is this possible?
Not sure I understand. When a thread is waiting for its time to be allowed to run a lock code block, it's not doing anything else.
https://devblogs.microsoft.com/dotnet/configureawait-faq/
Обсуждают сегодня