[Expat-discuss] Thread Safety
Thomás Inskip
tinskip at widevine.com
Mon Jul 12 19:56:59 CEST 2004
Different parser instances in each thread.
I guess that wasn't it.
Thanks.
On Jul 12, 2004, at 1:50 PM, Karl Waclawek wrote:
>> I am seeing a crash within Expat 1.95.7 when parsing (valid) XML. It
>> appears to happen when more than one thread is using the library
>> concurrently. Does anyone know whether Expat is supposed to be thread
>> safe, or does it perhaps need to be built with special options?
>
> What do you mean with "more than one thread is using the library"?
> Callbacks into different threads from the same parser instance?
> Multiple threads calling into the same parser instance concurrently?
>
> Expat is not thread safe, but as long as different threads use
> different parser instances you should not have a problem.
>
> Karl
> _______________________________________________
> Expat-discuss mailing list
> Expat-discuss at libexpat.org
> http://mail.libexpat.org/mailman/listinfo/expat-discuss
More information about the Expat-discuss
mailing list