-
- Downloads
[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.
Loading