Bug #277

Deadlock when multiple thread try to send the same request

Added by Stefano Lenzi almost 4 years ago. Updated almost 4 years ago.

Status:Closed Start date:11/13/2014
Priority:Lowest Due date:
Assignee:Stefano Lenzi % Done:

100%

Category:zigbee.CC2530.driver Spent time: -
Target version:org.aaloa.zb4osgi.zigbee.CC2530.driver-1.X
Has a patch:No Has license agreement signed:No

Description

When multiple thread try to send the same request by means of DriverCC2530 (i.e.: both of them invoke the method sendZDOIEEEAddressRequest ) then the one that will be set in the wait state due to the waitAndLock3WayConversation will never be awaken.


Subtasks

Task #278: Backport deadlock fix to ez430-rf2480 driverClosedStefano Lenzi


Related issues

related to Improvement #275: Improve WaitForCommand triaging Rejected 11/12/2014

Associated revisions

Revision 1099
Added by Stefano Lenzi almost 4 years ago

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

History

#1 Updated by Stefano Lenzi almost 4 years ago

  • Status changed from New to Resolved

Please Philipp review it and close it

#2 Updated by Philipp Buluschek almost 4 years ago

  • Status changed from Resolved to Closed

Looks good.

Also available in: Atom PDF