@podkolzzzin10 июн 2019 в 07:09.NET: Tools for working with multi-threading and asynchrony – Part 1Время на прочтение18 минОхват и читатели20K.NET * ASP * C# * Системное программирование * Всего голосов 7: ↑5 и ↓2+1Добавить в закладки7Комментарии4
@briangunn24 июн 2019 в 11:32You need to know how to control interaction between threads in order to get the most out of this power. spanish dictionary
@326392727 янв 2020 в 10:53do you know how I can programmatically limit threads number to 1 for debug?
@podkolzzzin27 янв 2020 в 14:13Показать предыдущий комментарийI have used SemaphoreSlim class for such purpuses. private readonly SemaphoreSlim syncObject = new SemaphoreSlim(1); ... syncObject.Wait(); try { // CODE YOU WANT TO DEBUG } finally { syncObject.Release(); }
.NET: Tools for working with multi-threading and asynchrony – Part 1