Scott_Troy_Lab02.pdf Signal_base.c uses an alarm to call the handler function Signal_Base2.c uses the previous program but adds a counter shown after ctrl+c is used. These are both shown in the screenshot below. Conclusion The first program Signal_base.c uses the alarm to trigger the handler function. This program prints HelloWorld!, then goes back to print Turing is right!. This will continue until ctrl+C is used to exit. This shows how the SIGALRM is used for preemptive execution. The second program uses the alarm to count the number of times the trigger is called. And uses SIGINT to print a counted number of alarms after ctrl+c is used. This shows how SIG can be used to force a program to take action.