erigontech / erigontech/silkworm

infra: is Context::execute_loop_multi_threaded really multi threaded?

Open
#1,528 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
318
Forks
84
PR merge metrics
No merged PRs in 30d

Description

io_context::run has an internal mutex guarding do_run_one():
https://github.com/chriskohlhoff/asio/blob/master/asio/include/asio/detail/impl/scheduler.ipp#L209

We should decide if we want multi-threaded io_context-s at all.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.