summaryrefslogtreecommitdiff
path: root/libpiano/src/const.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2012-04-20 22:05:22 +0200
committerLars-Dominik Braun <lars@6xq.net>2012-04-20 22:05:22 +0200
commitbbed23df60c4bfc067b4f7c03574cfe11cc8bb60 (patch)
tree6e5bb509bc46db4039675092ab45b7375f852caa /libpiano/src/const.h
parent35763dea799c96361e288a10eab0fbd16c36e880 (diff)
downloadpianobar-bbed23df60c4bfc067b4f7c03574cfe11cc8bb60.tar.gz
pianobar-bbed23df60c4bfc067b4f7c03574cfe11cc8bb60.tar.bz2
pianobar-bbed23df60c4bfc067b4f7c03574cfe11cc8bb60.zip
Don’t unlock mutex that is not locked
Strict pthread implementations (like OpenBSD’s rthreads with PTHREAD_MUTEX_TYPE_STRICT_NP set) don’t allow unlocking a mutex that is not locked, resulting in abort() being called. Always aquiring the lock before unlocking it while skipping to the next song fixes this. Thanks to David Coppa.
Diffstat (limited to 'libpiano/src/const.h')
0 files changed, 0 insertions, 0 deletions