[ http://issues.apache.org/jira/browse/TUSCANY-959?page=comments#action_12458021 ] Yang ZHONG commented on TUSCANY-959: ------------------------------------
Thanks to Geoff for so many details. 2. Microsoft MSDN (http://msdn2.microsoft.com/en-us/library/2kzt1wy3.aspx) has confirmed /MD(d) can be used for multi-threaded run-time DLLs. 4.1 we need to call xmlInitParser() in the "main" thread before using any of the libxml2 API 4.2 LibXML2 from http://www.zlatkovic.com/libxml.en.html (Tuscany recommendation for Windows) is already configured with --with-threads 5.1 zLib is thread-safe (http://www.zlib.net/zlib_faq.html#faq21) 5.2 iConv character set conversion descriptor can not be used in multiple threads simultaneously (http://www.gnu.org/software/libiconv/documentation/libiconv/iconv_open.3.html) However, SDO doesn't call iconv_open directly. It's internally used by LibXML2 I'll try 4.1. I don't have a Linux. Can anyone with one work on "3" please? > Please use thread-safe libraries > -------------------------------- > > Key: TUSCANY-959 > URL: http://issues.apache.org/jira/browse/TUSCANY-959 > Project: Tuscany > Issue Type: Improvement > Components: C++ SDO > Affects Versions: Cpp-current > Reporter: Caroline Maynard > Priority: Minor > > One of our SDO for PHP users is planning to run in a multi-threaded web > server. > They have run an evaluation tool and only found one thread-safety issue - the > use of localtime() rather than localtime_r() in commonj/sdo/SDODate.cpp. > Please would you modify this call accordingly? It's fine for this to be a > conditional compile if you prefer. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]