summaryrefslogtreecommitdiff
path: root/streamer.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-04-12 22:16:58 +0200
committerGravatar waker <wakeroid@gmail.com>2011-04-12 22:16:58 +0200
commit8d6dab0928866350d981793cd9207d0fb284fb4d (patch)
tree717b41330c5cc37999ddfa3cff4304ea1e1ac7c1 /streamer.c
parent9f51eafb15fba5a5fad550af3b45e9c8dda5cffd (diff)
intermediate fix to playlist/streamer/plugevent mutex race conditions
Diffstat (limited to 'streamer.c')
-rw-r--r--streamer.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/streamer.c b/streamer.c
index 567f9e95..e321a882 100644
--- a/streamer.c
+++ b/streamer.c
@@ -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