阅读背景:

在信号处理过程中,main()是否被暂停?

来源:互联网 

I'm developing a POSIX daemon which reads from a database from time to time. I'd like to close the connection when SIGTERM arrives (e.g. when the system shuts down).I'm developing a POSIX daemon which reads from




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: