Expat lib and Pthreads
Mikhail Strizhov <[email protected]> Thu, 13 Jan 2011 16:09:17 -0700
| Newsgroups | gmane.text.xml.expat.general |
|---|---|
| Message-ID | <[email protected]> |
Greetings list, I have fully working parsing module and I need to use this module with two threads (C pthread library) to parse different xml documents simultaneously. Both threads will launch: XML_Parser parser = XML_ParserCreate(NULL); XML_SetElementHandler(parser, _start_hndl, _end_hndl); XML_SetCharacterDataHandler(parser,_char_hndl ); Will I have inconsistency if both threads will use _start_hndl() and _end_hndl() handler functions? Thanks! -- Sincerely, Mikhail Strizhov Email: [email protected] <mailto:[email protected]>