Downloads
Documentation
Get Involved
Help
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Enumerations
Errors
Exceptions
Fibers
Generators
Attributes
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Predefined Attributes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
User Submitted Data
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Dealing with XForms
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
简介 »
« expect_popen
PHP 手册
函数参考
进程控制扩展
Change language:
English
Brazilian Portuguese
Chinese (Simplified)
French
German
Japanese
Korean
Romanian
Russian
Spanish
Turkish
Other
Edit
Report a Bug
进程控制
简介
安装/配置
需求
安装
运行时配置
资源类型
预定义常量
示例
基本用法
PCNTL 函数
pcntl_alarm
— 为进程设置 alarm 闹钟信号
pcntl_async_signals
— Enable/disable asynchronous signal handling or return the old setting
pcntl_errno
— 别名 pcntl_get_last_error
pcntl_exec
— 在当前进程空间执行指定程序
pcntl_fork
— 在当前进程当前位置产生分叉(fork)
pcntl_get_last_error
— Retrieve the error number set by the last pcntl function which failed
pcntl_getpriority
— 获取任意进程的优先级
pcntl_rfork
— Manipulates process resources
pcntl_setpriority
— 修改任意进程的优先级
pcntl_signal_dispatch
— 调用等待信号的处理程序
pcntl_signal_get_handler
— Get the current handler for specified signal
pcntl_signal
— 安装信号处理程序
pcntl_sigprocmask
— 设置或检索阻塞信号
pcntl_sigtimedwait
— 带超时机制的信号等待
pcntl_sigwaitinfo
— 等待信号
pcntl_strerror
— Retrieve the system error message associated with the given errno
pcntl_unshare
— Dissociates parts of the process execution context
pcntl_wait
— 等待或返回 fork 的子进程状态
pcntl_waitpid
— 等待或返回 fork 的子进程状态
pcntl_wexitstatus
— 返回一个中断的子进程的返回代码
pcntl_wifexited
— 检查状态代码是否代表一个正常的退出
pcntl_wifsignaled
— 检查子进程状态码是否代表由于某个信号而中断
pcntl_wifstopped
— 检查子进程当前是否已经停止
pcntl_wstopsig
— 返回导致子进程停止的信号
pcntl_wtermsig
— 返回导致子进程中断的信号
add a note
User Contributed Notes
There are no user contributed notes for this page.