Alternative to Joining threads in a loop

前端 未结 0 833
鱼传尺愫
鱼传尺愫 2020-12-12 15:12

The normal code to join multiple threads with a pid array is :

 pthread_t pids[10];
    for(int i =0;i

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