[reSIProcate] thread safe
Ira Kadin
ikadin at Airspan.com
Tue Sep 5 01:27:53 CDT 2006
Thanks everybody who answered me on GW application question.
We want to develop the application which can handle 400-500 simultaneous
calls. So I think we will need to run dum and sip stack in separate
threads. As dum is not thread safe, I guess we have to put locking
object in ApplDialog class and use it in all callbacks (onConnected,
onProvisional, etc..) and functions, like DialogUsageManager::end(),
DialogUsageManager::accept() called from different application
threads. Is it a right solution ? I don't understand the second advise -
use DialogUsageManager::post() - because for this solution I have
prepare SipMessage myself (meaning - duplicate code in end() function.
Is it any plan to make Dum thread safe ?
thanks
Irena
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20060905/23aef002/attachment.htm>
More information about the resiprocate-devel
mailing list