3 #cc: additional_flags=-pthread
5 #output: Unimplemented rt_sigprocmask syscall (0x3, 0x0, 0x3dff*\n
6 #output: program stopped with signal 4.\n
8 Testing a signal handler corner case. */
34 if (sigemptyset (&sigs) != 0)
37 retcode = pthread_create (&th_a, NULL, process, NULL);
41 /* An invalid parameter 1 should cause this to halt the simulator. */
43 = pthread_sigmask (SIG_BLOCK + SIG_UNBLOCK + SIG_SETMASK, NULL, &sigs);
44 /* Direct return of the error number; i.e. not using -1 and errno,
45 is the actual documented behavior. */
46 if (retcode == ENOSYS)