signal handler 中文意思是什麼

signal handler 解釋
信號處理程序
  • signal : n 1 信號,暗號;信號器。2 動機,導火線 (for)。3 預兆,徵象。adj 1 暗號的,作信號用的。2 顯著的...
  • handler : n. 1. 處理者,管理者。2. (賽馬、警犬等的)訓練者。3. 【自動化】(信息)處理機。
  1. The best way to avoid the need to allocate memory in a handler is to allocate, in advance, space for signal handlers to use

    避免在處理器分配內存的最好方法是,為信號處理器預先分配要使用的內存。
  2. You can call library functions, but only a very few can be safely called. calling most functions inside a signal handler, such as

    您可以調用庫函數,但是只有極少數函數是被安全調用的;在一個信號處理器中調用大部分函數是出問題的主要原因,比如
  3. In the signal handler, as follows, can resolve the problem

    的值,可以解決這一問題:
  4. Suppose that the signal handler uses

    假定信號處理器使用了不可重入的
  5. From the signal handler

    ,那會怎樣?
  6. There can be only one signal handler per signal per process active at any instant

    在任何瞬間,只能有一個信號處理程序處理一個活動進程的一個信號。
  7. Meanwhile, once per second, the alarm signal handler prints the current contents. calling

    同時, alarm信號處理器每一秒列印一次當前內容(在處理器中調用
  8. The process then continues executing, but the instructions in the signal handler are now executed

    然後進程繼續執行,但現在執行的是信號處理器中的指令。
  9. This example shows what can happen if a signal handler runs in the middle of modifying a variable

    這個例子展示了在修改某個變量的過程中運行信號處理器可能會發生什麼事情:
  10. Signal handlers in an approximate manner, while the diagnostics module expands the installed signal handler

    的信號處理器設置成幾乎相同的形式,而診斷模塊則擴展已安裝的信號處理器。
  11. Now, in the signal handler you can t tell what the process was executing when the signal was caught

    現在,在信號處理器中您並不知道信號被捕獲時進程正在執行什麼內容。如果當進程正在使用
  12. If the signal handler returns, the process continues executing the normal sequence of instructions it was executing when the signal was caught

    如果信號處理器返回,則進程繼續執行信號被捕獲時正在執行的正常的指令序列。
  13. When a signal that is being caught is handled by a process, the normal sequence of instructions being executed by the process is temporarily interrupted by the signal handler

    當進程處理所捕獲的信號時,正在執行的正常指令序列就會被信號處理器臨時中斷。
分享友人