dbertoni 2003/03/27 15:08:02
Modified: c/src/XalanTransformer XalanTransformer.hpp
Log:
Made comments for static initializers more explicit.
Revision Changes Path
1.49 +11 -2 xml-xalan/c/src/XalanTransformer/XalanTransformer.hpp
Index: XalanTransformer.hpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XalanTransformer/XalanTransformer.hpp,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- XalanTransformer.hpp 25 Feb 2003 16:36:10 -0000 1.48
+++ XalanTransformer.hpp 27 Mar 2003 23:08:01 -0000 1.49
@@ -135,7 +135,9 @@
* Initialize Xalan.
*
* Should be called only once per process before creating any
- * instances of XalanTransformer.
+ * instances of XalanTransformer. This call is not thread-safe,
+ * so you must serialize any calls to it, and you must track the
+ * initialization state, so you do not call it more than once.
*/
static void
initialize();
@@ -144,7 +146,9 @@
* Terminate Xalan.
*
* Should be called only once per process after deleting all
- * instances of XalanTransformer.
+ * instances of XalanTransformer. This call is not thread-safe,
+ * so you must serialize any calls to it, and you must track the
+ * initialization state, so you do not call it more than once.
*
* This is handy when using leak-detection software, as all
* static data allocated by Xalan is freed.
@@ -163,12 +167,17 @@
* the process, since the ICU will no longer be in a usable state.
* See the ICU documentation for more details.
*
+ * This call is not thread-safe, so you must serialize any calls
+ * to it, and you must track the initialization state, so you do
+ * not call it more than once.
+ *
* This is handy when using leak-detection software, as all
* static data allocated by the ICU is freed.
*
*/
static void
ICUCleanUp();
+
/**
* Transform will apply the stylesheet source to the parsed xml source
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]