On 3/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Would it be possible to make it like this? take lock on the manager > take the lock on the connection/device, > release the manager lock > invoke the frame push to the driver > release the lock on the connection/device, > take lock on the manager > release the manager lock
I haven't looked at the code so I don't know if it would be possible but
clearly the locking pattern shown previously is deadlock prone and has to be fixed.
Maybe I'm seeing this wrong - but what would be the point of the second acquire of the lock, if you're going to immediately release it without doing anything under it? -- Keith Kyzivat SIPez LLC. SIP VoIP, IM and Presence Consulting http://www.SIPez.com tel: +1 (617) 273-4000
_______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
