当前位置: 技术问答>linux和unix
在线等待:怎样使一个进程挂起
来源: 互联网 发布时间:2015-01-26
本文导语: 当满足一定的条件是,怎样使一个进程挂起和继续运行??? | 在《unix高级环境编程?的书里关于信号的章节有非常不错的解释 | The pause() function forces a process to pause un...
当满足一定的条件是,怎样使一个进程挂起和继续运行???
|
在《unix高级环境编程?的书里关于信号的章节有非常不错的解释
|
The pause() function forces a process to pause until a signal is received from either the kill(2) function or an interval timer (see setitimer(2)).
Upon termination of a signal handler started during a pause(), the pause() call will return.
Upon termination of a signal handler started during a pause(), the pause() call will return.
|
信号通知,sleep挂起