[irati] [PATCH] Fixing dead-lock librina/concurrency.h

  • From: Marc Sune <marc.sune@xxxxxxxx>
  • To: irati@xxxxxxxxxxxxx
  • Date: Mon, 2 Feb 2015 13:53:55 +0100

---
 librina/include/librina/concurrency.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/librina/include/librina/concurrency.h 
b/librina/include/librina/concurrency.h
index ec68b95..bd6b3e3 100644
--- a/librina/include/librina/concurrency.h
+++ b/librina/include/librina/concurrency.h
@@ -279,6 +279,8 @@ BlockingFIFOQueue():ConditionVariable() { };
                         queue.pop_front();
                 }
 
+                unlock();
+
                 return result;
         }
 
-- 
2.1.3


Other related posts:

  • » [irati] [PATCH] Fixing dead-lock librina/concurrency.h - Marc Sune