Pthread join or pthread exit of terminating mulithreaded c program?

前端 未结 0 1700
借酒劲吻你
借酒劲吻你 2020-12-30 11:55

I wanted to print 1 to 10 for 3 threads. My code is able to do that but after that the program gets stuck. I tried using pthread_exit in the end of function. Also, I tried t

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