[xslt] threaded use with xsltCleanupGlobals()
- From: "Sam Liddicott" <sam liddicott com>
- To: xslt gnome org
- Subject: [xslt] threaded use with xsltCleanupGlobals()
- Date: Tue, 07 Oct 2008 16:57:09 +0100
I think that a multi-threaded user of libxslt should generally only call
xsltCleanupGlobals() when the application is about to shut down;
What nasty thing might happen if a thread calls xsltCleanupGlobals() and
maybe while another thread is doing xslt processing?
(And the same for xmlCleanupParser I guess).
I guess it is ok to call xsltFreeStylesheet and xmlFreeDoc from a thread
as a thread-private reference is passed.
Sam
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]