Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix command typo #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/CSP并发模型/Channel创建.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ void study_coro_channel_init(); // 新增的一行
重新编译、安装扩展:

```shell
~/codeDir/cppCode/study # phpize --clean ; phpize ; ./configure
~/codeDir/cppCode/study # phpize --clean && phpize && ./configure
~/codeDir/cppCode/study # make clean ; make -j4 ; make install
----------------------------------------------------------------------

Expand Down
6 changes: 3 additions & 3 deletions docs/CSP并发模型/Channel的push和pop.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ static const zend_function_entry study_coro_channel_methods[] =
`OK`,重新编译、安装扩展:

```shell
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
----------------------------------------------------------------------

Build complete.
Expand Down Expand Up @@ -260,7 +260,7 @@ int st_event_wait()
然后重新编译、安装扩展:

```shell
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
----------------------------------------------------------------------

Build complete.
Expand Down Expand Up @@ -396,7 +396,7 @@ efree(zdata); // 增加的地方
然后重新编译、安装扩展:

```shell
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
----------------------------------------------------------------------

Build complete.
Expand Down
2 changes: 1 addition & 1 deletion docs/CSP并发模型/实现Channel基础类.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ bool Channel::push(void *data, double timeout)
`OK`,我们重新编译、安装扩展:

```shell
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
----------------------------------------------------------------------

Build complete.
Expand Down
2 changes: 1 addition & 1 deletion docs/优化(一)/server关闭连接.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ PHP_METHOD(study_coroutine_server_coro, close)
然后编译、安装扩展:

```shell
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
----------------------------------------------------------------------

Build complete.
Expand Down
4 changes: 2 additions & 2 deletions docs/优化(一)/修复一些bug(七).md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Context::~Context()
我们重新编译、安装扩展:

```shell
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
----------------------------------------------------------------------

Build complete.
Expand Down Expand Up @@ -119,7 +119,7 @@ zval_ptr_dtor(retval);
然后重新编译、安装扩展:

```shell
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
----------------------------------------------------------------------

Build complete.
Expand Down
2 changes: 1 addition & 1 deletion docs/优化(一)/修复一些bug(五).md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ ssize_t Socket::send(const void *buf, size_t len)
我们重新编译、安装扩展:

```shell
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
----------------------------------------------------------------------

Build complete.
Expand Down
2 changes: 1 addition & 1 deletion docs/优化(一)/修复一些bug(六).md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ PHP_METHOD(study_coroutine_server_coro, recv)
我们重新编译、安装扩展:

```shell
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
----------------------------------------------------------------------

Build complete.
Expand Down
2 changes: 1 addition & 1 deletion docs/优化(一)/重构定时器(一).md
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ void TimerManager::run_timers()
`OK`,我们重新编译、安装扩展:

```shell
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
----------------------------------------------------------------------

Build complete.
Expand Down
2 changes: 1 addition & 1 deletion docs/优化(一)/重构定时器(二).md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ extern "C" int uv__next_timeout(const uv_loop_t* loop);
我们重新编译、安装扩展:

```shell
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
----------------------------------------------------------------------

Build complete.
Expand Down
4 changes: 2 additions & 2 deletions docs/优化(二)/修复一些bug(十一).md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ efree(stack);
这里,我们打印了`PHP`栈的地址。然后重新编译、安装扩展:

```shell
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
----------------------------------------------------------------------

Build complete.
Expand Down Expand Up @@ -165,7 +165,7 @@ efree(stack);
接着,重新编译、安装扩展:

```cpp
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
----------------------------------------------------------------------

Build complete.
Expand Down
2 changes: 1 addition & 1 deletion docs/优化(二)/修复一些bug(十).md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ void study_coroutine_server_coro_init()
然后重新编译、安装扩展:

```shell
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
----------------------------------------------------------------------

Build complete.
Expand Down
2 changes: 1 addition & 1 deletion docs/优化(二)/自定义Socket对象.md
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ PHP_MINIT_FUNCTION(study)
然后重新编译、安装扩展:

```shell
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
```

然后编写测试脚本:
Expand Down
2 changes: 1 addition & 1 deletion docs/优化(二)/重构Channel(二).md
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ void study_coro_channel_init()
我们重新编译、安装扩展:

```shell
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
----------------------------------------------------------------------

Build complete.
Expand Down
2 changes: 1 addition & 1 deletion docs/优化(二)/重构Server.md
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ void study_coro_socket_init(int module_number);
然后重新编译、安装扩展:

```shell
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
----------------------------------------------------------------------

Build complete.
Expand Down
4 changes: 2 additions & 2 deletions docs/网络模块/全局变量STUDYG.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,13 @@ int PHPCoroutine::scheduler()
然后,我们需要重新生成一下我们的`Makefile`:

```shell
~/codeDir/cppCode/study # phpize --clean ; phpize ; ./configure
~/codeDir/cppCode/study # phpize --clean && phpize && ./configure
```

然后编译、安装扩展:

```shell
~/codeDir/cppCode/study # make ; make install
~/codeDir/cppCode/study # make && make install
```

编写测试代码:
Expand Down
2 changes: 1 addition & 1 deletion docs/网络模块/协程化Socket::Socket.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ stSocket_listen(sock);
然后,我们重新编译、安装扩展:

```shell
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
----------------------------------------------------------------------

Build complete.
Expand Down
2 changes: 1 addition & 1 deletion docs/网络模块/协程化Socket::recv和send.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ ssize_t stSocket_send(int sock, const void *buf, size_t len, int flag)
我们重新编译、安装扩展:

```shell
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
----------------------------------------------------------------------

Build complete.
Expand Down
2 changes: 1 addition & 1 deletion docs/网络模块/协程化Socket::wait_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ static inline uint64_t touint64(int fd, int id)
`OK`,我们现在重新编译、安装我们的扩展:

```shell
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
----------------------------------------------------------------------

Build complete.
Expand Down
4 changes: 2 additions & 2 deletions docs/网络模块/协程化服务器(一).md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ zend_declare_property(study_coroutine_server_coro_ce_ptr, ZEND_STRL("zsock"), zs
`OK`,我们来编译一下扩展:

```shell
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install

----------------------------------------------------------------------

Expand Down Expand Up @@ -169,7 +169,7 @@ PHP_METHOD(study_coroutine_server_coro, __construct)
然后重新编译、安装扩展:

```shell
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
----------------------------------------------------------------------

Build complete.
Expand Down
2 changes: 1 addition & 1 deletion docs/网络模块/协程化服务器(三).md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Socket::Socket(int fd)
然后,我们重新编译、安装扩展:

```shell
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
----------------------------------------------------------------------

Build complete.
Expand Down
6 changes: 3 additions & 3 deletions docs/网络模块/协程化服务器(二).md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ st_zend_read_property
重新编译、安装扩展:

```shell
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
----------------------------------------------------------------------

Build complete.
Expand Down Expand Up @@ -100,7 +100,7 @@ if (ret < 0 && errno != EAGAIN)
然后,我们重新编译、安装扩展:

```shell
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
----------------------------------------------------------------------

Build complete.
Expand Down Expand Up @@ -249,7 +249,7 @@ ev = StudyG.poll->events;
然后重新编译、安装扩展:

```shell
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
----------------------------------------------------------------------

Build complete.
Expand Down
2 changes: 1 addition & 1 deletion docs/网络模块/协程化服务器(四).md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ PHP_METHOD(study_coroutine_server_coro, send)
我们重新编译安装扩展:

```shell
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
----------------------------------------------------------------------

Build complete.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ static inline void free_stPoll()
我们来重新编译、安装扩展:

```cpp
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
----------------------------------------------------------------------

Build complete.
Expand Down
4 changes: 2 additions & 2 deletions docs/网络模块/定义协程化的Socket类.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ study_source_file="\
`OK`,我们重新生成`Makefile`:

```shell
~/codeDir/cppCode/study # phpize --clean ; phpize ; ./configure
~/codeDir/cppCode/study # phpize --clean && phpize && ./configure
```

然后编译、安装扩展:

```shell
~/codeDir/cppCode/study # make ; make install
~/codeDir/cppCode/study # make && make install
----------------------------------------------------------------------

Build complete.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ int Socket::listen()
然后重新编译、安装扩展:

```shell
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
----------------------------------------------------------------------

Build complete.
Expand Down
2 changes: 1 addition & 1 deletion docs/网络模块/实现coroutine::Socket::close.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ int stSocket_close(int fd)
然后重新编译、安装扩展:

```shell
~/codeDir/cppCode/study # make clean ; make ; make install
~/codeDir/cppCode/study # make clean && make && make install
----------------------------------------------------------------------

Build complete.
Expand Down