diff options
author | waker <wakeroid@gmail.com> | 2011-04-12 22:16:58 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-04-12 22:16:58 +0200 |
commit | 8d6dab0928866350d981793cd9207d0fb284fb4d (patch) | |
tree | 717b41330c5cc37999ddfa3cff4304ea1e1ac7c1 /streamer.c | |
parent | 9f51eafb15fba5a5fad550af3b45e9c8dda5cffd (diff) |
intermediate fix to playlist/streamer/plugevent mutex race conditions
Diffstat (limited to 'streamer.c')
-rw-r--r-- | streamer.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -112,12 +112,14 @@ static DB_FILE *streamer_file; void streamer_lock (void) { - mutex_lock (mutex); +// mutex_lock (mutex); + pl_lock (); } void streamer_unlock (void) { - mutex_unlock (mutex); +// mutex_unlock (mutex); + pl_unlock (); } static void |