> .. and How many times the signal for my function would actually be handled
it should be handled once as long as not re-initialized again
depending on you os you have a runtime condition if the child gets executed before the parent's signal initialization which then results in on call only
Main Topics
Browse All Topics





by: omarfaridPosted on 2009-03-29 at 20:54:38ID: 24015907
According to the code provided, it is the parent that should handle once (since the 2nd line is commented in the signal handler code) the signal. The child will apply the default action.