- 12 Nov, 2021 1 commit
-
-
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:
Rosen Penev <rosenp@gmail.com>
-
- 25 Jun, 2021 1 commit
-
-
Max Kellermann authored
-
- 01 Jan, 2021 1 commit
-
-
Max Kellermann authored
-
- 07 Sep, 2020 1 commit
-
-
Max Kellermann authored
-
- 02 Feb, 2020 1 commit
-
-
Rosen Penev authored
Found with modernize-redundant-void-arg Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 01 Feb, 2020 1 commit
-
-
Max Kellermann authored
-
- 18 Jan, 2020 1 commit
-
-
Max Kellermann authored
-
- 05 Jul, 2019 1 commit
-
-
Max Kellermann authored
-
- 17 Jun, 2019 1 commit
-
-
Max Kellermann authored
-
- 19 Nov, 2018 1 commit
-
-
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.
-
- 31 Oct, 2018 1 commit
-
-
Max Kellermann authored
-
- 07 Aug, 2017 1 commit
-
-
Max Kellermann authored
-
- 28 Apr, 2017 2 commits
-
-
Max Kellermann authored
Will move attributes from struct AudioOutput that are specific to the OutputThread. The new struct AudioOutputControl is a holder for the AudioOutput pointer. This prepares for making the output list more dynamic, to allow moving outputs to between partitions.
-
Max Kellermann authored
-
- 03 Jan, 2017 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 29 Dec, 2016 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 01 Mar, 2016 1 commit
-
-
Max Kellermann authored
-
- 26 Feb, 2016 1 commit
-
-
Max Kellermann authored
-
- 11 Nov, 2015 1 commit
-
-
Max Kellermann authored
-
- 06 Nov, 2015 1 commit
-
-
Max Kellermann authored
-
- 01 Jan, 2015 1 commit
-
-
Max Kellermann authored
-
- 07 Aug, 2014 1 commit
-
-
Max Kellermann authored
-
- 30 Jul, 2014 1 commit
-
-
Max Kellermann authored
-
- 28 Jan, 2014 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Another big chunk of code for multi-player support.
-
- 23 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 13 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 28 Nov, 2013 2 commits
-
-
Max Kellermann authored
Replaces GLib's g_str_has_prefix().
-
Max Kellermann authored
-
- 02 Oct, 2013 1 commit
-
-
Max Kellermann authored
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
-
- 16 Apr, 2013 1 commit
-
-
Max Kellermann authored
-
- 07 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 02 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 29 Jan, 2011 1 commit
-
-
Max Kellermann authored
-
- 01 Jan, 2010 1 commit
-
-
Avuton Olrich authored
-
- 12 Nov, 2009 1 commit
-
-
Max Kellermann authored
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue.
-
- 08 Oct, 2009 1 commit
-
-
Max Kellermann authored
If nothing has changed since the last save, don't save the state file. Saving will spin up the hard drive, which is undesirable on hosts where MPD is idling in background.
-