add some signal deal and remove alarm_cb unused-parameter warnning.