Skip to content

Commit

Permalink
Fix broken image reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaosvex committed Sep 15, 2024
1 parent 97e63e1 commit 917f0f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/post/go-faster-with-asio/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ When creating an `io_context`, Asio allows you set a concurrency hint to tell it
> should allow to run simultaneously.<br/>
> — <cite>Asio documentation[^1]</cite>
<img src="neature.png" width="250px" style="float:right; margin: 20px; border-radius: 5%;">That's pretty neat. Unfortunately, if you've chosen the multithreaded `io_context` path, it might not be able to do much for you. On Windows, it passes the value to IOCP (IO completion ports), which may or may not have any effect, but it has no direct impact on Asio.
<img src="neature.jpg" width="250px" style="float:right; margin: 20px; border-radius: 5%;">That's pretty neat. Unfortunately, if you've chosen the multithreaded `io_context` path, it might not be able to do much for you. On Windows, it passes the value to IOCP (IO completion ports), which may or may not have any effect, but it has no direct impact on Asio.
If we've restrained ourselves to a single-threaded `io_context`, we can pass a concurrency hint of `1`, which the documentation tells us will eliminate a lock.
Expand Down

0 comments on commit 917f0f5

Please sign in to comment.