[xml] XML/XSLT in a multithreaded environment



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi ;-)

Im writing sort of middleware which stores XML-data and XSL-stylesheets in STL-containers to keep away load 
from my webfrontends and my database-servers.

Therefore i use the libxml/libxslt in a multithreaded environment with locking mechanisms provided by the 
ACE-Framework.

But i have one problem. I cant call xsltCleanupGlobals(); or xmlCleanupParser(); because this data may be 
used by other threads.
On the other hand, there must be some data which isnt freed allocated by xsltApplyStylesheet(). How can I 
free this data, without causing a segfault?

/Regards
Julius Mittenzwei
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8wuPx2sqVnSPRHRMRAk13AJoC7+NiNOQtjrWqpYm5ronLnUFE8gCfWgE2
3WOIBJgv4ncSDkG47lH79Bw=
=Fgwh
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]