Вопросы по теме 'pthread-exit'
Вызвать присоединение к дочернему потоку в основной функции
У меня есть тестовый код:
#include <stdio.h>
#include <unistd.h>
#include <pthread.h>
pthread_t th_worker, th_worker2;
void * worker2(void *data) {
for(int i = 0; i< 1000000; i++){
printf("thread for...
197 просмотров
schedule
12.05.2023