摘要: sigint sigterm都将收到信号。区别在于sigint会对进程树发送信号,因此子进程也会自动退出。(on Unix in most cases the parent and child will share a controlling terminal. Pressing Ctrl+C in 阅读全文
posted @ 2024-03-07 10:57 xuyv 阅读(12) 评论(0) 推荐(0) 编辑