diff options
author | Max Kellermann <max@musicpd.org> | 2017-12-22 10:37:07 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-01-07 17:20:26 +0100 |
commit | 354104f9a9f6e5eb652ba771c32117431d898cf5 (patch) | |
tree | e28409386c6f081145f253496656726cc2c4652e /src/MusicBuffer.hxx | |
parent | 8649ea3d6fcbad110ecb668b8485cf4b8b45caba (diff) |
thread/{Thread,Id}: use defaul-initialized pthread_t as "undefined" value
Use the "==" operator instead of pthread_equal().
This allows us to eliminate two boolean flags which are there to avoid
race conditions, and made the thing so fragile that I got tons of
(correct) thread sanitizer warnings.
Diffstat (limited to 'src/MusicBuffer.hxx')
0 files changed, 0 insertions, 0 deletions