-
Notifications
You must be signed in to change notification settings - Fork 84
Expand file tree
/
Copy pathbook.xml
More file actions
72 lines (64 loc) · 2.79 KB
/
Copy pathbook.xml
File metadata and controls
72 lines (64 loc) · 2.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: fc9cab7d56f91b2fd9b549eaabcbf77f7d66e36f Maintainer: takagi Status: ready -->
<!-- CREDITS: shimooka,hirokawa -->
<book xml:id="book.pcntl" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<?phpdoc extension-membership="bundled" ?>
<title>プロセス制御</title>
<titleabbrev>PCNTL</titleabbrev>
<!-- {{{ preface -->
<preface xml:id="intro.pcntl">
&reftitle.intro;
<para>
PHP がサポートするプロセス制御関数は、Unix 形式のプロセス生成、
プロセス実行、シグナル処理、プロセス終了機能を実装しています。
プロセス制御は Web サーバー環境で有効にするべきではなく、プロセス
制御関数のどれかが Web サーバー環境で使用された場合には、予期しない結果を
生じる可能性があります。
</para>
<para>
この文書は、プロセス制御関数の一般的な使用法を説明しようとするものです。
Unix のプロセス制御に関する詳細な情報については、fork(2),
waitpid(2) および signal(2) のようなシステムのドキュメントや、
W. Richard Stevens による Advanced Programming in the UNIX Environment (Addison-Wesley)
のような優れた参考書を読まれることを推奨します。
</para>
<para>
現在 PCNTL はシグナルハンドルコールバックの仕組みとして ticks を
使用しており、これは以前の仕組みよりずっと高速です。この変更は
"user ticks" を使用するのと同じことです。<function>declare</function>
を使用して、プログラム中でコールバックの発生を許可する場所を指定する
必要があります。これにより、非同期のイベントを処理する際の
オーバーヘッドを最小限に抑えることが可能となります。以前は、pcntl を
有効にして PHP をコンパイルすると、pcntl の使用の有無にかかわらず
常にこのオーバーヘッドの被害を被っていたのです。
</para>
¬e.no-windows.extension;
</preface>
<!-- }}} -->
&reference.pcntl.setup;
&reference.pcntl.constants;
&reference.pcntl.examples;
&reference.pcntl.pcntl.qosclass;
&reference.pcntl.reference;
</book>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->