OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

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

Re: Is expat thread safe?

> 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.