Re: Using libexpat in multi-threaded environment

Nick MacDonald <[email protected]>
Newsgroups gmane.text.xml.expat.general
Message-ID <[email protected]>
Use the user data field--store your state there.  Set its value at the start
of parsing and it will be passed back to each call back.

On 12/6/05, Kailas Ramasamy <[email protected]> wrote:
>
> Hi,
> The start element, end element and character data callback functions seem
> to return no context information. When one of these callback functions is
> invoked (by the libexpat) how do I associate this to a thread.
>
> Appreciate your suggestions.
>
> Thanks
> Kailas
> _______________________________________________
> Expat-discuss mailing list
> [email protected]
> http://mail.libexpat.org/mailman/listinfo/expat-discuss
>



--
Nick MacDonald
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.