signal function have no infinite loop.it will exit after the last sentence?
if yes ,why i can't call the signal function twice?