File tree Expand file tree Collapse file tree 6 files changed +74
-196
lines changed Expand file tree Collapse file tree 6 files changed +74
-196
lines changed Original file line number Diff line number Diff line change 1010
1111高性能网络服务组件. 提供底层服务封装, 基础管理及客户端调用功能. 使用 ` composer ` 进行管理, 可在此基础上进行封装整合.
1212
13- ## # 环境要求
13+ ## 环境要求
1414
1515* Linux (不考虑windows)
1616* PHP >= 5.6
17- * swoole >= 1.9
17+ * swoole >= 1.9.6
1818
1919源码地址: [ swoole] ( https://github.com/swoole/swoole-src )
2020
@@ -24,7 +24,7 @@ pecl 安装
2424pecl install swoole
2525```
2626
27- ### # 可选扩展
27+ ### 可选扩展
2828
2929** 如果 PHP >= 7.0 的安装 2.0 版本.**
3030
@@ -36,13 +36,13 @@ pecl 安装
3636pecl install inotify
3737```
3838
39- ### # 安装
39+ ### 安装
4040
4141```
4242composer require fastd/swoole
4343```
4444
45- ## # 文档
45+ ## 文档
4646
4747[ 中文文档] ( docs/zh_CN/readme.md )
4848
Original file line number Diff line number Diff line change 1- # 信号量
1+ #信号量
22
3- 文档编写中...
3+ 对应 PHP 常量,如 SIGTERM -15
4+
5+ ``` php
6+ <?php
7+ posix_kill(pid, SIGTERM);
8+ ```
9+
10+ 1 . SIGHUP
11+ 2 . SIGINT
12+ 3 . SIGQUIT
13+ 4 . SIGILL
14+ 5 . SIGTRAP
15+ 6 . SIGABRT
16+ 7 . SIGBUS
17+ 8 . SIGFPE
18+ 9 . SIGKILL
19+ 10 . SIGUSR1
20+ 11 . SIGSEGV
21+ 12 . SIGUSR2
22+ 13 . SIGPIPE
23+ 14 . SIGALRM
24+ 15 . SIGTERM
25+ 17 . SIGCHLD
26+ 18 . SIGCONT
27+ 19 . SIGSTOP
28+ 20 . SIGTSTP
29+ 21 . SIGTTIN
30+ 22 . SIGTTOU
31+ 23 . SIGURG
32+ 24 . SIGXCPU
33+ 25 . SIGXFSZ
34+ 26 . SIGVTALRM
35+ 27 . SIGPROF
36+ 28 . SIGWINCH
37+ 29 . SIGIO
38+ 30 . SIGPWR
39+ 31 . SIGSYS
40+ 34 . SIGRTMIN
41+ 35 . SIGRTMIN+1
42+ 36 . SIGRTMIN+2
43+ 37 . SIGRTMIN+3
44+ 38 . SIGRTMIN+4
45+ 39 . SIGRTMIN+5
46+ 40 . SIGRTMIN+6
47+ 41 . SIGRTMIN+7
48+ 42 . SIGRTMIN+8
49+ 43 . SIGRTMIN+9
50+ 44 . SIGRTMIN+10
51+ 45 . SIGRTMIN+11
52+ 46 . SIGRTMIN+12
53+ 47 . SIGRTMIN+13
54+ 48 . SIGRTMIN+14
55+ 49 . SIGRTMIN+15
56+ 50 . SIGRTMAX-14
57+ 51 . SIGRTMAX-13
58+ 52 . SIGRTMAX-12
59+ 53 . SIGRTMAX-11
60+ 54 . SIGRTMAX-10
61+ 55 . SIGRTMAX-9
62+ 56 . SIGRTMAX-8
63+ 57 . SIGRTMAX-7
64+ 58 . SIGRTMAX-6
65+ 59 . SIGRTMAX-5
66+ 60 . SIGRTMAX-4
67+ 61 . SIGRTMAX-3
68+ 62 . SIGRTMAX-2
69+ 63 . SIGRTMAX-1
70+ 64 . SIGRTMAX
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments