Skip to content
Snippets Groups Projects
  1. Feb 03, 2021
  2. Feb 02, 2021
  3. Feb 01, 2021
  4. Jan 29, 2021
  5. Jan 28, 2021
    • Florian Fischer's avatar
      [IO] make default offset for read/write more intuitive · ce8c29db
      Florian Fischer authored
      The current default offset is 0 which means read/write will not
      work like POSIX read/write and update the file position and instead will
      always work at the beginning of the file.
      
      Since linux v5.5 (ba04291eb66ed895f194ae5abd3748d72bf8aaea) io_uring
      supports offset=-1 which behaves like pvread2/pvwrite2.
      This feature is reported by IORING_FEAT_RW_CUR_POS.
      
      By using the default offset -1 emper::io::readFile and emper::io::writeFile
      will work like write/read but does also support pwrite/pread.
      ce8c29db
    • Florian Fischer's avatar
      [test] fix occasional failures of SimpleDiskAndNetworkTest · 54dd7ffa
      Florian Fischer authored
      Concurrently connecting and creating the server socket is racy.
      Now the server socket is created before any Fiber is started
      removing this race.
      Note: The same race is theoretically in SimpleNetworkTest and
      ConcurrenctEchoTest too but I haven't observed the failure yet
      54dd7ffa
  6. Jan 27, 2021
  7. Jan 26, 2021
  8. Jan 25, 2021
  9. Jan 22, 2021
  10. Jan 14, 2021
Loading