[!POSIXSIGNALS]: Thoroughly obsolete, remove. This also gets rid of

an odd case where signals were not catched when debugging.

(main, empth_start): Using sa_handler with SA_SIGINFO is wrong.
Simply don't set SA_SIGINFO; the additional signal information is not
used anyway.
This commit is contained in:
Markus Armbruster 2005-03-12 12:20:50 +00:00
parent 014d005c69
commit 09b481b30a
6 changed files with 10 additions and 64 deletions

View file

@ -65,9 +65,6 @@ empth_start(void *ctx)
struct sigaction act;
/* actually it should inherit all this from main but... */
#ifdef SA_SIGINFO
act.sa_flags = SA_SIGINFO;
#endif
sigemptyset(&act.sa_mask);
act.sa_handler = shutdwn;
/* pthreads on Linux use SIGUSR1 (*shrug*) so only catch it if not on