diff --git a/reference/pcntl/functions/pcntl-signal.xml b/reference/pcntl/functions/pcntl-signal.xml index 781492d8c..4cab53434 100644 --- a/reference/pcntl/functions/pcntl-signal.xml +++ b/reference/pcntl/functions/pcntl-signal.xml @@ -1,6 +1,7 @@ - + + pcntl_signal @@ -127,8 +128,7 @@ pcntl_signal 不堆叠信号处理程序,而是替换。 + + 调度方式 + + 调度信号处理程序的方法有多种: + + 启用 pcntl_async_signals 异步调度。这是推荐方法 + 设置 tick 频率 + 使用 pcntl_signal_dispatch 手动调度 + + + + 当信号以异步方式或使用基于 tick 的执行调度时,阻塞函数(如 sleep)可能会被中断。 + + &reftitle.seealso; + Signal (IPC) on Wikipedia + pcntl_async_signals pcntl_fork + pcntl_signal_dispatch pcntl_waitpid diff --git a/reference/pcntl/functions/pcntl-waitpid.xml b/reference/pcntl/functions/pcntl-waitpid.xml index 9eb252217..847bfb509 100644 --- a/reference/pcntl/functions/pcntl-waitpid.xml +++ b/reference/pcntl/functions/pcntl-waitpid.xml @@ -1,6 +1,6 @@ - + @@ -49,7 +49,7 @@ -1 - 等待任意子进程;与 wait 函数行为一致。 + 等待任意子进程;与 pcntl_wait 函数行为一致。 diff --git a/reference/reflection/propertyhooktype.xml b/reference/reflection/propertyhooktype.xml index 9b3b59465..1c39cf2f0 100644 --- a/reference/reflection/propertyhooktype.xml +++ b/reference/reflection/propertyhooktype.xml @@ -1,18 +1,19 @@ - - + + + PropertyHookType 枚举 PropertyHookType -
+
&reftitle.intro; PropertyHookType 枚举列出了属性挂钩的合法类型。
-
+
&reftitle.enumsynopsis; diff --git a/reference/var/functions/intval.xml b/reference/var/functions/intval.xml index b819eee2b..7ecc6e4e2 100644 --- a/reference/var/functions/intval.xml +++ b/reference/var/functions/intval.xml @@ -1,6 +1,6 @@ - + @@ -127,7 +127,7 @@