From: Moriyoshi Koizumi

> I preferred to use xmlInitThreads() because xmlInitParser() does a set
> of operations related to the libxml's memory maganer and  I tried hard to
> prevent it from being initialised before the start-up of the Zend
> MM. Do you have any good idea to deal with them in a consistent way?

xmlInitThreads currently doesnt do anything right now. It is just a function
for future use. In a non threaded environment, it really doesnt matter. You
can get away without even calling any init routines as they would be called
upon the first invocation of the parser, but once you get into a threaded
environment, libxml needs to initialize itself on the main thread.

Unless there is a way to inject it after the start-up of the Zend MM, this
is the only spot I know of to get the initialization in there. Other than
for consistancy is there any problem in having it initialize before the Zend
MM?

Rob



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to