blob: a495fc9e9a1037b170bbe7805c194ef932a4cd61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
int
main(void)
{
printf("Test of pthread_exit() in main thread only.\n");
pthread_exit(NULL);
printf("You shouldn't see this.");
exit(1);
}
|