Skip to content

Commit

Permalink
Update doc.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chunyi1994 authored Jun 6, 2017
1 parent 225daa0 commit afd8244
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ EventBase是事件分发器,内部使用epoll/kqueue来管理非阻塞IO
```c
EventBase base;
```
###事件分发循环
### 事件分发循环

```c
//不断调用epoll_wait,处理IO事件
base.loop();
```
###退出事件循环
### 退出事件循环

```c
//退出事件循环,线程安全,可在其他线程中调用
Expand Down

0 comments on commit afd8244

Please sign in to comment.