Caroline Maynard wrote:
On 21/11/06, Geoffrey Winn <[EMAIL PROTECTED]> wrote:
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.
Yes, that's how it would be. The SDO for PHP implementation doesn't keep
references to Tuscany objects in static data.
As you observed earlier we will need to resolve the localtime issue.
I'll raise a JIRA for that.
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.
Both zlib and iconv are also part of the normal PHP environment, because
libxml2 depends on them, so I don't expect issues with them. But FYI,
zlib
has a faq: http://www.zlib.net/zlib_faq.html#faq21
As for iconv, I think that libxml2 will use whatever iconv
implementation it
finds on the platform, which is not necessarily libiconv, so a general
statement may not be possible.
Do you think that we should build with the thread safe libs by default?
or have 2 bin libraries one thread safe, one not but faster?
The question applies to both Linux and Windows, and I'm not sure but we
may have different answers for different systems.
Caroline, maybe I missed it in the email thread, but do your users need
this on Linux? Windows? both?
Thanks,
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]