Possibly deadlock in pjsua_call_get_info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

My application has several threads:
   - one for pjsip,
   - one for GUI.

So in pjsip callback, I send notification to GUI thread (main thread).
In GUI thread, I'd like to get information of call to display them,
but I get this message:
Timed-out trying to acquire PJSUA mutex (possibly system has deadlocked) 
in pjsua_call_get_info()
And finally, I don't get any information :-(

Should I copy pjsua_call_info in callback and send to GUI thread ?
Or does it exist another solution ?

I can't post notification from callback to GUI thread without freezes GUI.

Thanks

Samuel



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux