blob: 75f19a70476abc5671c6f246b37715d84e366f9d [file] [log] [blame]
#include <pthread.h>
#include <unistd.h>
static void *th(void *v)
{
sleep(1);
pthread_exit(0);
}
int main()
{
pthread_t a;
pthread_create(&a, NULL, th, NULL);
pthread_create(&a, NULL, th, NULL);
pthread_create(&a, NULL, th, NULL);
pthread_create(&a, NULL, th, NULL);
pthread_exit(0);
}