learning threads on linux

前端 未结 5 679
遇见更好的自我
遇见更好的自我 2021-01-13 16:55

Linux is a new platform to me. I\'ve coded on Windows in c++ for a number of years and have become comfortable with multithreading on that platform.

Along comes C++

5条回答
  •  庸人自扰
    2021-01-13 17:36

    Based on this, you must call pthread_join for each single thread you have created. Or to use mutexes, if there is a need to synchronize your threads.

提交回复
热议问题