OSDN Git Service

(split) LDP: Translate several number of pages
[linuxjm/LDP_man-pages.git] / draft / man2 / signal.2
index 1f6fb0f..85fa8d9 100644 (file)
@@ -119,14 +119,10 @@ System V でも、 \fBsignal\fP()  に対してこれらの挙動を規定して
 来るより前に、同じシグナルがまた配送される可能性がある。 さらに、同じシグナルが立て続けに配送されると、同じシグナルが
 ハンドラを繰り返し起動されることになる。
 
-BSD improved on this situation, but unfortunately also changed the semantics
-of the existing \fBsignal\fP()  interface while doing so.  On BSD, when a
-signal handler is invoked, the signal disposition is not reset, and further
-instances of the signal are blocked from being delivered while the handler
-is executing.  Furthermore, certain blocking system calls are automatically
-restarted if interrupted by a signal handler (see \fBsignal\fP(7)).  The BSD
-semantics are equivalent to calling \fBsigaction\fP(2)  with the following
-flags:
+BSD はこの状況が改善したが、残念なことに、その過程で既存の \fBsignal\fP() の挙動も変更された。 BSD
+では、シグナルハンドラが起動された際、 シグナルの処理方法はリセットされず、 ハンドラの実行中は、同じシグナルのさらなる生成は配送がブロックされる。
+また、 シグナルハンドラが中断された場合、 停止中のシステムコールのいくつかは自動的に再スタートされる。 BSD の挙動は、 以下のフラグを指定した
+\fBsigaction\fP(2) の呼び出しと等価である。
 
     sa.sa_flags = SA_RESTART;