Обзор того, что у меня есть:
Код: Выделить всё
pthread_id tid[numThreads];
gather all files into filelist
for(fNum = 0, tnum=0; fNum
Подробнее здесь: [url]https://stackoverflow.com/questions/79083641/pthread-or-threads-wait-for-any-one-thread-to-finish[/url]
Мобильная версия