You can trap any signal in this way and it can be a good way of ensuring that a program that crashes out is caught and trapped effectively and reported.
可以通过这种方式跟踪任何信号,而且也能很好地确保捕获并有效地跟踪和报告程序崩溃的情况。
To use trap, you specify the command or function to be executed when the signal is trapped, and the signal number or Numbers that you want to trap, as shown here in Listing 13.
要使用跟踪,可以指定跟踪到信号时执行的命令或函数、要跟踪的信号编号,如此处的清单13中所示。
In order to get a strong enough signal to read the bases it is only necessary to trap each one for around a millisecond, he says.
他另外还说,为了得到足够强的信号来识读这些碱基,只需要将每个碱基固定大约1毫秒就可以了。
Set a trap for the WINCH signal as well, and assign the get_window_size function to be the trigger of the trapped signal.
为WINCH信号设置一个陷阱,同时指定get _ window_size函数作为捕获到的信号的触发器。
Within trap, you have a similar option; it is not really a signal as such but is based on set -e as if it was invoked.
在trap内部,您可以使用一个类似的选项;该选项实际上并不是信号,但是基于set -e,因此看上去就好像是调用了set - e一样。
Catch the signal using trap and take appropriate action.
使用trap捕捉信号并采取相应的操作。
To catch a signal that is sent to your process, use the built-in trap command.
要捕捉发送到您的进程的信号,请使用内置的trap命令。
The first trap command causes the stopsleep function to be run whenever a SIGCHLD, SIGINT, or SIGTERM signal is received.
第一个trap命令将使stopsleep函数在接受到SIGCHLD、SIGINT或SIGTERM信号时运行。
The ERR goes with the signal list within the trap command. In the following example, a non-existent file is copied, which invokes an error
ERR在trap命令中提供了一个信号列表。
When a signal is caught, the current command being executed attempts to complete before the trap command takes over.
在捕捉到信号后,正在执行的当前命令会尝试在trap接管之前结束执行。
Auxiliary signal generator (AC) is a part of many control circuit of ion trap mass spectrograph.
辅助信号发生器(简称ac)就是离子阱质谱众多控制电路中的一部分。
Its function consists of data-gathering, digital trap, data signal, flag alarm, digit communication and so on.
系统软件的主要功能有:数据采集功能、数字滤波功能、线性化处理功能、信号报警功能、数据通信功能等。
At the same time, the method could be used to study the signal for very short storing time and the transient process in the ion trap.
同时此种方法也可用于分析离子阱中存贮时间极短的离子信号,以及有关暂态过程的研究。
In practice complex alternating projection neural networks can be widely applied to signal processing, such as band-limited signal extrapolation, frequency selector and trap filter.
实际上,复交替投影神经网络不仅可用于信号处理中的带限信号外推,还可用于选频、陷波等场合。
Through the spectrum sensing and cognitive engine technology, the characteristics of narrowband interference signal is extracted, which is the rule to design the trap filter.
通过频谱感知和认知引擎技术提取窄带干扰频谱特征作为陷波器的设计依据。
Through the spectrum sensing and cognitive engine technology, the characteristics of narrowband interference signal is extracted, which is the rule to design the trap filter.
通过频谱感知和认知引擎技术提取窄带干扰频谱特征作为陷波器的设计依据。
应用推荐