summaryrefslogtreecommitdiff
path: root/src/StateFile.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-12-22 10:37:07 +0100
committerMax Kellermann <max@musicpd.org>2018-01-07 17:20:26 +0100
commit354104f9a9f6e5eb652ba771c32117431d898cf5 (patch)
treee28409386c6f081145f253496656726cc2c4652e /src/StateFile.hxx
parent8649ea3d6fcbad110ecb668b8485cf4b8b45caba (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/StateFile.hxx')
0 files changed, 0 insertions, 0 deletions