On 21/11/06, Caroline Maynard <[EMAIL PROTECTED]> wrote:
On 20/11/06, Caroline Maynard <[EMAIL PROTECTED]> wrote: > > > There's a comment against that posting about exactly this situation, where > an external library may or may not be thread-safe, and the answer is "it > depends". Of course we also depend on libxml2 as well as your > implementation, but that is a well-trodden path for PHP extensions. FYI, the statement about libxml2 and thread-safety is here: http://xmlsoft.org/threads.html -- Caroline
As far as SDO itself is concerned, I think we would be OK if the user of SDO could guarantee that whenever an SDO artifact (data factory, data object, type, XSDHelper ...) is created then that artifact will be used _exclusively_ by the thread that created it. If that's acceptable to you then I'll check the code to ensure that my claim is correct. As you observed earlier we will need to resolve the localtime issue. Outside of SDO we will also need to check the various libraries that we depend on. You mentioned libxml2 but there is also zlib and iconv too. Based on a quick look at the libxml2 reference that you supplied we wll need a small change to the SDO build process but also possibly some code changes too. Regards, Geoff.