[Expat-discuss] Thread Safety
tinskip at widevine.com
Mon Jul 12 22:45:24 CEST 2004
There is the possibility that two parsers could be allocated or
destroyed concurrently, although that is not the case I am seeing. I
have one more theory: Is there a document size limit? I am not
dealing with a real document per se, but rather data streams which
carry a lot of XML data which is all parsed by the same parser (I
achieved this by priming the parser with a fake document outermost
element before starting to feed it the actual incoming XML). So it
could conceivably be asked to parse several gigabytes of data (not all
in the same chunk, of course).
On Jul 12, 2004, at 2:26 PM, Karl Waclawek wrote:
> ----- Original Message -----
> From: "Thomás Inskip" <tinskip at widevine.com>
> To: "Karl Waclawek" <karl at waclawek.net>
> Cc: <expat-discuss at libexpat.org>
> Sent: Monday, July 12, 2004 1:56 PM
> Subject: Re: [Expat-discuss] Thread Safety
>> Different parser instances in each thread.
>> I guess that wasn't it.
> Are you *creating* (and destroying) the parser instances concurrently?
> That is where I could see a problem.
> Expat-discuss mailing list
> Expat-discuss at libexpat.org
More information about the Expat-discuss