Hi,

Well, I've made my MultiThreading Sofia-DnsResolver, using the sresolv files on the bleeding tree. Unfortunately I have still issues. Each separates threads making a resolution run the su_root_run() function. When the resolution is over the su_root_break() function is called. Sometimes, randomly and I do not know why, the su_root_break()* function does not stop the su_root_run()*, which means that the thread never exits! (the sup_running flag is set to 0 in the su_root_break, but in the su_root_run() it is still equal to 1)

I'm using the su modules imported from the 1.11.7 version. Do I use the latest su module?

Secondly, before exiting the thread, (when the su_root_break() works), I made something like this to clean the memory:

sres_resolver_destroy(ag->sa_resolver);
su_root_destroy(ag->sa_root);
su_home_unref(ag->sa_home);

Does this clean all resources associates with the thread ? (except the cache, and my own resources ...)

Thank you,

Thomas Rosenblatt.


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to