Signal handlers can also be written to ignore the signal.
信号处理程序可以编写为忽略这个信号。
Each of these signal handlers is quite short. Here's the do_roll_up method.
每种信号的处理程序都很短。
Signal handlers provide information on the action to be taken when the signal occurs.
信号处理程序中提供了有关在信号发生时要执行的操作的信息。
This led to a third problem: Programs that take signals for which the signal handlers invoke wrapped calls.
这将导致第三个问题:为信号处理程序接收信号的程序调用已包装的调用。
To get a good core file, MQ might need to disable those signal handlers by setting the environment variables.
为了获得理想的核心文件,可能需要通过设置环境变量来禁用MQ的那些信号处理程序。
The best way to avoid the need to allocate memory in a handler is to allocate, in advance, space for signal handlers to use.
避免在处理器分配内存的最好方法是,为信号处理器预先分配要使用的内存。
In the view, you need to define signal handlers using the define_signal method. It takes a hash defining a signal name and a view method to handle that signal.
在视图中,您需要使用define_signal方法定义信号处理程序。
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.
两个信号处理器被连接起来——一个用来在用户关闭窗口时退出应用程序,另一个用来在用户点击按钮时,修改显示的欢迎信息。
Procsig prints signal actions and handlers for the process.
procsig输出进程的信号操作和处理程序。
But you're better off setting flags — and nothing else — in a signal handler, as opposed to trying to create sophisticated handlers.
但是您最好只在一个信号处理器中设置标记(别的什么都不做),这胜过尝试创建复杂的处理器。
The main loop then looks through its internal mapping table between its signals and handlers, also called callbacks, and calls the handlers registered for the given signal on the given object.
然后主循环查询自己的信号和处理程序之间的内部映射表,也叫做回调,并调用注册到指定对象的指定信号的处理程序。
The main loop then looks through its internal mapping table between its signals and handlers, also called callbacks, and calls the handlers registered for the given signal on the given object.
然后主循环查询自己的信号和处理程序之间的内部映射表,也叫做回调,并调用注册到指定对象的指定信号的处理程序。
应用推荐