summaryrefslogtreecommitdiff
path: root/test/pthead_blocking.c
blob: 18a65386fbd9197e99b359bdfc4d254798f33df8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

#include <pthread.h>
#include <stdio.h>
#include <time.h>

static void* a(void* aa) {
        
}



int main()
{
        pthread_t abc;
        pthread_create(&abc, NULL, a, NULL);

        printf("ok\n");
        pthread_join(abc, NULL);
        printf("will i printed?\n");
}