aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-04-17 03:05:23 +0000
committerEric Wong <normalperson@yhbt.net>2008-04-17 03:05:23 +0000
commit3c3620b3011f5b52128873a273728587f6a702ec (patch)
tree265201615d49b9a38e1fa0be427a6656b7d03145 /INSTALL
parent7c952c4f4bb4272cd4082f85960eb65976286aa4 (diff)
downloadmpd-3c3620b3011f5b52128873a273728587f6a702ec.tar.gz
mpd-3c3620b3011f5b52128873a273728587f6a702ec.tar.xz
mpd-3c3620b3011f5b52128873a273728587f6a702ec.zip
fix race condition in main_notify.c
The function wait_main_task() is racy: if the function wakeup_via_cond() sees the mutex is locked just before wait_main_task() executes pthread_cond_wait(), the main thread blocks forever. Work around this issue by adding a "pending" flag just like in my notify.c code. A standards-compliant solution should be implemented later. git-svn-id: https://svn.musicpd.org/mpd/trunk@7365 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'INSTALL')
0 files changed, 0 insertions, 0 deletions