summaryrefslogtreecommitdiff
path: root/src/ui_act.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 /src/ui_act.h
parent35763dea799c96361e288a10eab0fbd16c36e880 (diff)
downloadpianobar-windows-bbed23df60c4bfc067b4f7c03574cfe11cc8bb60.tar.gz
pianobar-windows-bbed23df60c4bfc067b4f7c03574cfe11cc8bb60.tar.bz2
pianobar-windows-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 'src/ui_act.h')
0 files changed, 0 insertions, 0 deletions