all goroutines are asleep - deadlock issues

后端 未结 0 1038
灰色年华
灰色年华 2020-12-29 17:08

I am trying to print odd-even numbers in synchronized manager (1,2,3,4...) with two goroutines, I am confused why my code leads to a deadlock. please could you help me to un

相关标签:
回答
  • 消灭零回复
提交回复
热议问题