1. 12 Nov, 2021 1 commit
    • Rosen Penev's avatar
      treewide: replace lock_guard with scoped_lock · 4e0e4c00
      Rosen Penev authored
      SonarLint reports the latter to be better:
      
      std::scoped_lock basically provides the same feature as std::lock_guard,
      but is more generic: It can lock several mutexes at the same time, with a
      deadlock prevention mechanism (see {rule:cpp:S5524}). The equivalent code
      to perform simultaneous locking with std::lock_guard is significantly more
      complex. Therefore, it is simpler to use std::scoped_lock all the time,
      even when locking only one mutex (there will be no performance impact).
      Signed-off-by: 's avatarRosen Penev <rosenp@gmail.com>
      4e0e4c00
  2. 01 Jan, 2021 1 commit
  3. 18 Jan, 2020 1 commit
  4. 17 Jun, 2019 1 commit
  5. 05 Feb, 2019 2 commits
  6. 31 Oct, 2018 1 commit
  7. 17 Jul, 2018 2 commits
  8. 16 Jul, 2018 1 commit
  9. 22 Jun, 2018 1 commit
    • Max Kellermann's avatar
      input/Stream: remove attribute "cond", replace with handler interface · d0fbf6db
      Max Kellermann authored
      This adds a bit of overhead, but also adds flexibility to the API,
      because arbitrary triggers may be invoked from that virtual method
      implementation, not just Cond::signal().
      
      The motivation for this is to make the handlers more dynamic, for the
      upcoming buffering class utilizing ProxyInputStream.
      d0fbf6db
  10. 10 Feb, 2017 1 commit
  11. 26 Jan, 2017 1 commit
  12. 03 Jan, 2017 3 commits
  13. 16 Sep, 2016 1 commit
  14. 09 Sep, 2016 2 commits
  15. 02 May, 2016 1 commit
  16. 26 Feb, 2016 1 commit
  17. 21 Feb, 2016 2 commits
  18. 15 Aug, 2015 1 commit
  19. 01 Jan, 2015 1 commit
  20. 04 Dec, 2014 1 commit
  21. 07 Oct, 2014 1 commit
  22. 06 Aug, 2014 1 commit
  23. 11 May, 2014 1 commit
  24. 18 Feb, 2014 1 commit
  25. 24 Jan, 2014 1 commit
  26. 23 Jan, 2014 2 commits
  27. 13 Jan, 2014 1 commit
  28. 29 Dec, 2013 1 commit
  29. 24 Dec, 2013 2 commits
  30. 23 Oct, 2013 1 commit
  31. 17 Oct, 2013 1 commit
  32. 02 Oct, 2013 1 commit