- 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>
-
- 31 Oct, 2021 1 commit
-
-
Max Kellermann authored
Unlike GetFilenameSuffix(), uri_get_suffix() removes the query string first, which breaks file names with question marks in the name. Therefore, uri_get_suffix() shall only be applied to remote URIs. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1316
-
- 25 May, 2021 1 commit
-
-
Max Kellermann authored
-
- 01 Jan, 2021 1 commit
-
-
Max Kellermann authored
-
- 04 Nov, 2020 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
No need to copy it to a buffer.
-
Max Kellermann authored
-
- 18 Jan, 2020 1 commit
-
-
Max Kellermann authored
-
- 04 Dec, 2019 1 commit
-
-
Max Kellermann authored
-
- 09 Aug, 2019 1 commit
-
-
Max Kellermann authored
-
- 05 Jul, 2019 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 17 Jun, 2019 1 commit
-
-
Max Kellermann authored
-
- 07 May, 2019 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
GetChromaprintCommand::DecodeStream() is called without holding the mutex.
-
- 26 Apr, 2019 1 commit
-
-
Max Kellermann authored
Just like std::condition_variable, which however has no way to specify the std::mutex directly.
-
- 25 Apr, 2019 1 commit
-
-
Max Kellermann authored
-
- 05 Apr, 2019 1 commit
-
-
Max Kellermann authored
A first use case for our libchromaprint integration added by commit 30e22b75
-