[Expat-discuss] Using libexpat in multi-threaded environment

Nick MacDonald nickmacd at gmail.com
Wed Dec 7 06:13:23 CET 2005


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 <kailasr at gmail.com> 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
> Expat-discuss at libexpat.org
> http://mail.libexpat.org/mailman/listinfo/expat-discuss
>



--
Nick MacDonald
NickMacD at gmail.com


More information about the Expat-discuss mailing list