directory
0.0.0-20250107152505-2809300c68ba
Repository: https://github.com/triumphpc/go-study.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
Для решения этой проблемы можно использовать отдельный канал done make(chan struct{}) - используется для метки финиша, потому что struct не выделяет память.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Что выведет данный код? Должен войти в бесконечный цикл Но так как один тред может обрабатывать две горутины, то планировщик может успеть обработать и выйти из цикла.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Какая из строк (A или B) позволит получить лучшее время выполнения при условии что у нас 8 ядер (numcpu=8)?.
No description provided by the author
No description provided by the author
No description provided by the author