Open lewissbaker opened 3 years ago
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.
@lewissbaker is currentThreadContext what you meant?
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.