I've already searched in google and man pages but I don't understand how to use SIGUSR1 and SIGUSR2.
I read somewhere that it is possible to make a subprocess with fork(), then pause the subprocess and wake it up by sending a signal (with SIGUSR1 or SIGUSR2) at some other point of the program. How could I do this?
I know how to make subprocesses but I don't know how to program a signal with SIGUSR1 and how wake up the subprosses with that signal.
Thx for help