[Home] [By Thread] [By Date] [Recent Entries]

  • From: James Clark <jjc@j...>
  • To: Kent Archie <karchie@l...>, xml-dev <xml-dev@l...>
  • Date: Wed, 27 Jun 2001 09:16:43 +0700


> I'm using expat to handle some XML work I am doing and
> at my code review, people asked about the therad safety of expat.
> I looked around at this groups archives and other web resources
> and didn't see a solid answer.
> My server process is creating a separate parser instance for each thread
> so I expect that it is OK.

If you use a separate parser instance for each thread, then you're safe, 
provided that you are usind a thread-safe malloc.

James



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member