This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
同上
pthread是使用了posix兼容层,二者只是实现方式不一样,结果都是一样的