add signal.c

Signed-off-by: feixiaoxing <feixiaoxing@163.com>