以指定的次数退出信号量并返回前一个计数。
Exits the semaphore a specified number of times and returns the previous count.
它发出非正常退出信号给和它链接在一起的进程。
When it dies it sends a non-normal exit signal to the processes in its link set.
另一个线程中的编程错误可能导致该线程退出信号量的次数超过它进入的次数。
A programming error in another thread might have caused that thread to exit the semaphore more times than it entered.
一个没有捕获退出信号的进程(普通进程)在它接收到一个非正常退出信号的时候失效。
A process which is not trapping exit signals (a normal process) dies if it receives a non-normal exit signal.
当一个进程挂掉了(例如BIF失败或者模式匹配失败),退出信号将发送给所有和该失效进程相关的其他进程。
When a process crashes (e. g. failure of a BIF or a pattern match) Exit Signals are sent to all processes to which the failing process is currently linked.
在接下来的例子中,我将再次选择在捕捉到信号后退出脚本。
In the following example, I have again chosen to exit the script upon catching the signal.
这个步骤中产生的信号对评估退出标准是十分关键的。
The signature generated in this step is critical to evaluate exit criteria.
两个信号处理器被连接起来——一个用来在用户关闭窗口时退出应用程序,另一个用来在用户点击按钮时,修改显示的欢迎信息。
Two signal handlers are connected — one to quit the application when the user closes the window and another to change the greeting that is displayed when the user clicks the button.
有时可能需要更多的信号捕捉,它们包含在子脚本中,用于在退出前执行清理工作。
Further signal traps may be required that would be contained within the child scripts to do further cleaning up before exit.
选择默认选项退出的信号,然后点击Next。
Choose to sign the default option exit, and then click Next.
如果向supervise发送了杀死其子进程的信息,那么外壳会接收到信号并退出,但是JVM会继续运行,从而变成孤儿。
If supervise were to send a signal to kill its child process, the shell would receive the signal and exit, but the JVM would carry on running and become an orphan.
然后使用值18 (SIGCHLD)来调用信号处理程序,确认子进程的退出,并且父进程返回到sleep (60)。
The signal handler is called with a value of 18 (SIGCHLD), the child's exit is acknowledged, and the parent goes back to its sleep (60).
对于SIGCHLD信号,应用程序必须调用wait (3c)函数,以等待子进程退出。
For the SIGCHLD signal, the application must call the wait (3c) function to wait for the child process to exit.
大部分实现均无法检测到此种情况(相反,程序会接收到SIGSEGFAULT信号并退出)。
Most implementations can't detect this (your program receives a SIGSEGFAULT signal and exit instead).
由于g_signal_connect,当我们的窗口发出“destroy ”信号时(当该窗口关闭时),我们的程序将自动退出。
Thanks to g_signal_connect , when our window emits a "destroy" signal (when the window is closed), our program will automatically quit.
按下A/M,退出阀门转角标定,进入无信号输入阀门位置标定进程;
Press A / M, out of the valve angle calibration, ether the no input signal valve position calibration process.
你可以捕捉任何除了SIGKILL和SIGSTOP信号,sigcont。因此你可以捕捉SIGSEGV信号,但是如果你决定不退出,将不可预测的行为。
You can catch any signal except SIGKILL, SIGCONT and SIGSTOP. Thus you can catch SIGSEGV, but if you decide then not to exit, the behavior will be unpredictable.
在新的一行,一个单一的退出系统将信号分解。
在新的一行,一个单一的退出系统将信号分解。
应用推荐