Skip to content
Snippets Groups Projects
  1. Apr 25, 2022
  2. Apr 04, 2022
  3. Mar 30, 2022
  4. Mar 24, 2022
  5. Mar 23, 2022
  6. Mar 21, 2022
  7. Mar 17, 2022
  8. Mar 16, 2022
  9. Mar 15, 2022
  10. Mar 14, 2022
  11. Mar 05, 2022
  12. Mar 04, 2022
  13. Mar 02, 2022
  14. Feb 28, 2022
  15. Feb 27, 2022
  16. Feb 26, 2022
    • Florian Schmaus's avatar
    • Florian Fischer's avatar
      fix lockless io-stealing · cdbddaff
      Florian Fischer authored
      The uninitialized continuation pointer may be returned without being
      written resulting in dispatching a not valid fiber pointer.
      
      If a CQE is stolen but no fiber is blocked on the corresponding future
      IoContext::getContinuationsFromCompletions will call future->completeAndGetContinuation
      which will set the future's completion but will not return a continuation.
      
      If no continuation is returned from Future::completeAndGetContinuation
      the continuation buffer is not advanced by IoContext::getContinuationsFromCompletions
      (emper/io/IoContext.hpp:259).
      
      IoContext::reapSingleCompletion does not check if a continuation was
      created and assumed that continuation contains a valid Fiber* if
      a CQE was successfully stolen.
      
      Initialize continuation with nullptr, which is a valid Fiber*.
      cdbddaff
    • Florian Fischer's avatar
      fix build of test waitfree io-stealing · 7d341a2e
      Florian Fischer authored
      7d341a2e
Loading