Lines Matching refs:signal
42 * TEST TITLE : signal flooding test
58 * 1.) Create a large number of processes and signal between them.
95 * forking off -n procs and setting up their signal handling.
100 * SIGHUP -> Reset child signal counter
121 * Set up signal handling for Children
123 * Set up signal handling for Managers
124 * Set up signal handling for Master
157 #include <signal.h>
167 /* signal handlers */
255 /* wait for the managers to signal they are done */
287 /* You will want to enable some signal handling so you can capture
332 * We might receive the signal from the (last manager) before
350 /* set up my signal processing */
387 printf("received unexpected signal %d from %d",
414 printf("received unexpected signal %d from %d",
502 /* set up the signal handling the children will use */
512 /* We use ALRM to make sure that we don't miss the signal effects ! */
539 /* now set up my signal handling */
571 printf("%d: Couldn't signal master (%d) that we're "
595 printf("%d: Couldn't signal master "
607 /* some simple signal handlers for the kids */
666 "received unexpected signal from %d", si->si_pid);
707 * If we have already received the signal, we dont