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. 13 Oct, 2021 1 commit
  3. 19 May, 2021 1 commit
  4. 05 Mar, 2021 1 commit
  5. 04 Mar, 2021 1 commit
  6. 03 Jan, 2021 1 commit
  7. 01 Jan, 2021 1 commit
  8. 27 May, 2020 1 commit
  9. 17 Mar, 2020 1 commit
  10. 16 Mar, 2020 3 commits
  11. 12 Mar, 2020 1 commit
  12. 18 Jan, 2020 1 commit
  13. 09 Oct, 2019 1 commit
  14. 03 Aug, 2019 1 commit
  15. 17 Jun, 2019 1 commit
  16. 29 May, 2019 1 commit
  17. 07 May, 2019 5 commits
  18. 26 Apr, 2019 1 commit
  19. 25 Apr, 2019 1 commit
  20. 14 Mar, 2019 1 commit
  21. 19 Nov, 2018 2 commits
    • Max Kellermann's avatar
      check.h: remove obsolete header · ce49d99c
      Max Kellermann authored
      Since we switched from autotools to Meson in commit
      94592c14, we don't need to include
      `config.h` early to properly enable large file support.  Meson passes
      the required macros on the compiler command line instead of defining
      them in `config.h`.
      
      This means we can include `config.h` at any time, whenever we want to
      check its macros, and there are no ordering constraints.
      ce49d99c
    • Max Kellermann's avatar
      src/thread/meson.build: detect pthread_setname_np() · 2e450bbf
      Max Kellermann authored
      This compile-time check got lost during the Meson transition.
      2e450bbf
  22. 31 Oct, 2018 2 commits
  23. 14 Oct, 2018 1 commit
    • Max Kellermann's avatar
      build with Meson instead of autotools · 94592c14
      Max Kellermann authored
      So long, autotools!  This is my last MPD related project to migrate
      away from it.  It has its strengths, but also very obvious weaknesses
      and weirdnesses.  Today, many of its quirks are not needed anymore,
      and are cumbersome and slow.  Now welcome our new Meson overlords!
      94592c14
  24. 21 Sep, 2018 2 commits
  25. 20 Aug, 2018 1 commit
  26. 16 Jul, 2018 1 commit
  27. 15 Jul, 2018 1 commit
    • Yue Wang's avatar
      Support timed_wait in microseconds level · 79937c94
      Yue Wang authored
      Some Audio plugin (such as ALSA, and soon CoreAudio) already support microsecond level buffer time. However, current interval less than 1000 microseconds will cause a bug that the code treated as 0 ms.
      79937c94
  28. 06 Jul, 2018 1 commit
  29. 09 Feb, 2018 2 commits
  30. 24 Jan, 2018 1 commit