April 8th, 2013, 07:10 AM
Operating systems assignment
Hi, I having problems to solve this project (c programming). Can anybody help?
Write a function mypause() that should have a functionality similar to the pause() system call.
Test the mypause() function in a program that repeatedly blocks waiting for a signal. The program
should capture the interrupt signal SIGINT (Ctrl-C) without ending its execution. The program should
terminate when the signal SIGQUIT (Ctrl-\) is sent to the program. When the program terminates it
should print the number of times that it received the SIGINT signal. Use the alarm signal (SIGALRM)
to make the program print the message “I am alive.” every 3 seconds. The pause() or sigpause()
system calls should not be used in any part of the solution to this problem.
April 8th, 2013, 07:14 AM
You have to describe the environment/system you are working with.
You have to describe and post what you have tried so far.
No one will do your homework. We can help you, but you have to show your own effort.