http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1402

*** shadow/1402 Thu Apr 19 11:31:07 2001
--- shadow/1402.tmp.29937       Thu Apr 19 11:31:07 2001
***************
*** 0 ****
--- 1,28 ----
+ +============================================================================+
+ | XMLPlatformUtils::Initialize() is not thread safe                          |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 1402                        Product: Xerces-C                |
+ |       Status: NEW                         Version: 1.4                     |
+ |   Resolution:                            Platform: Other                   |
+ |     Severity: Normal                   OS/Version: Other                   |
+ |     Priority:                           Component: Miscellaneous           |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                  |
+ |  Reported By: [EMAIL PROTECTED]                                        |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ All of the samples assume that we have a simple main() where we can run 
+ Initialize() and Terminate(), but in mine it is a multi-threaded shared library 
+ (.so, .dll) which has to field requests from multiple connections, of which the 
+ usage of xml parsing is part of several tasks. Since I'm trying to minimize 
+ resource usage, I would perfer not to Initialize() on startup, but would rather 
+ Initialize(), Terminate() around specific events. The code itself says it's not 
+ thread-safe.
+ 
+ Would it be possible for the platfirm to use mutexes, even though this is 
+ before the platform initialization?
+ 
+ Mark Collette

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to