Skip to content

Commit

Permalink
add image source for doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Hpbbs committed Aug 2, 2023
1 parent 4d1c0e5 commit 449795a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _posts/2021-04-25-libuv.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ published: true
The library provides much more than a simple abstraction over different I/O polling mechanisms: ‘handles’ and ‘streams’ provide a high level abstraction for sockets and other entities; cross-platform file I/O and threading functionality is also provided, amongst other things.
(高级抽象:**贴近服务场景的能力接口**:handles streams)

![ sdaf ](/assets/img/2021-04-25-libuv-libuv-arch.png)
![ sdaf ](/assets/img/doc/2021-04-25-libuv-libuv-arch.png)

### 3.handle and requests

Expand All @@ -51,7 +51,7 @@ The event loop follows the rather **usual single threaded asynchronous I/O appro

loop 循环迭代 流程图

![ sdaf ](/assets/img/loop_iteration.png)
![ sdaf ](/assets/img/doc/2021-04-25-libuv-loop_iteration.png)

libuv uses a thread pool to make asynchronous file I/O operations possible, but network I/O is always performed in a single thread, each loop’s thread.

Expand Down
Binary file added assets/img/doc/2021-04-25-libuv-libuv-arch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 449795a

Please sign in to comment.