1 /* Check that TRT happens at an non-abort ignored signal, more than one thread.
3 #cc: additional_flags=-pthread
11 #include <sys/types.h>
18 for (i = 0; i < 100; i++)
28 signal (SIGALRM, SIG_IGN);
29 if (pthread_create (&th_a, NULL, process, (void *) "a") == 0)
30 kill (getpid (), SIGALRM);
31 retcode = pthread_join (th_a, &retval);
32 if (retcode != 0 || retval != NULL)