2bd12e130adcf413e6b4c9b628301da1958d5a70
7 #include "ltt-usertrace-fast.h"
14 printf("thread 1, thread id : %lu, pid %lu\n", pthread_self(), getpid());
26 printf("thread 2, thread id : %lu, pid %lu\n", pthread_self(), getpid());
39 printf("thread main, thread id : %lu, pid %lu\n", pthread_self(), getpid());
40 err
= pthread_create(&tid1
, NULL
, thr1
, NULL
);
43 err
= pthread_create(&tid2
, NULL
, thr2
, NULL
);
51 err
= pthread_join(tid1
, &tret
);
54 err
= pthread_join(tid2
, &tret
);
This page took 0.031416 seconds and 4 git commands to generate.