阅读背景:

等待pthread_create完成而不使用pthread_join

来源:互联网 

I want to halt one thread till another thread has finished initializing without using pthread_join. I tried using a join but it leads to a deadlock due to some asynchronous inter-thread communication system that we have. Right now, I'm using a (custom) lock to achieve this.I want to halt one thread till another thread h




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: