while(){ block signal; pselect(); unblock signal;}While the signals are blocked, can i store the process id that have sent the signal? So that I process them after pselect has done its work and the signals are unblocked?
If there is a better way achieving this can someone guide me please.

Check Solution