Skip to content
Snippets Groups Projects
Commit 31de63c7 authored by Florian Fischer's avatar Florian Fischer
Browse files

[IO] make Future::submit thread safe

Future::submit<ANYWHERE> and Future::submit<EMPER> can be executed
in parallel by the globalCompleter and.
To prevent possible data races of the io_urings SQ a new mutex
is introduced.
This new sq_mutex must be unlocked before calling reapCompletions() because
reapCompletions() may call Future::submit on not fully completed Futures
and thus causing a deadlock.
parent 51021af0
No related branches found
No related tags found
No related merge requests found
Pipeline #54297 failed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment