facebookexperimental / facebookexperimental/libunifex
io_uring_context should use std::atomic<std:: thread::id> instead of thread_local to determine if currently on the I/O thread
Open
enhancement
- Dominant language
- C++
- Stars
- 1.7k
- Forks
- 210
- PR merge metrics
- No merged PRs in 30d
Description
This should avoid the use of thread_local but should also allow us to detect whether a context's run() method is executing regardless of whether there is a nested io_uring_context::run() method running inside a task executed by the outer one.
Contributor guide
Assessment
This issue has not been assessed yet.