Solve the possible deadlock on S-CSCF for implicit sets

vingarzan's picture
Project:Call Session Control Functions
Component:Code
Category:bug
Priority:normal
Assigned:Unassigned
Status:active
Description

After the latest changes to the handling of the implicit sets in the S-CSCF, deadlocks might happen but only on use of implicit sets. For example, if there are 2 de-registrations for 2 identities coming in parallel, it is possible that they will lock each-other out! The problem lies in the need to lock 2 public identities at the same time, from calls in registrar_timer and update_contacts.

http://svn.berlios.de/viewcvs/openimscore?view=rev&rev=351