[zb4osgi-changeset] [scm] ZigBee 4 OSGi repository change: r1099 - /projects/zb4osgi/trunk/zigbee.CC2530.driver/src/main/java/it/cnr/isti/zigbee/dongle/CC2530/impl/DriverCC2530.java

scm-notify at zb4osgi.aaloa.org scm-notify at zb4osgi.aaloa.org
Thu Nov 13 09:37:47 CET 2014


Author: stefano.lenzi
Date: Thu Nov 13 09:37:47 2014
New Revision: 1099

Log:
Adding notifyAll() in unLock3WayConversation() to avoid that thread deadlock when someone is blocked by the waitAndLock3WayConversation() method ( refs #277 )


Modified:
    projects/zb4osgi/trunk/zigbee.CC2530.driver/src/main/java/it/cnr/isti/zigbee/dongle/CC2530/impl/DriverCC2530.java

Modified: projects/zb4osgi/trunk/zigbee.CC2530.driver/src/main/java/it/cnr/isti/zigbee/dongle/CC2530/impl/DriverCC2530.java
==============================================================================
--- projects/zb4osgi/trunk/zigbee.CC2530.driver/src/main/java/it/cnr/isti/zigbee/dongle/CC2530/impl/DriverCC2530.java	(original)
+++ projects/zb4osgi/trunk/zigbee.CC2530.driver/src/main/java/it/cnr/isti/zigbee/dongle/CC2530/impl/DriverCC2530.java	Thu Nov 13 09:37:47 2014
@@ -548,6 +548,7 @@
         synchronized (conversation3Way) {
             requestor = conversation3Way.get(clz);
             conversation3Way.put(clz, null);
+            conversation3Way.notifyAll();
         }
         if (requestor == null) {
             logger.error(




More information about the Commit mailing list