|
From: Sun, V. <vs...@am...> - 2007-07-01 23:00:24
|
if VTDNav is like a DOM document, then yes multiple threads will be operate on the same VTDNav. They will use different xpath to access different part of the document. =20 -------------------------- Cheers, Vanessa =20 ________________________________ From: Jimmy Zhang [mailto:cra...@co...]=20 Sent: Sunday, July 01, 2007 11:19 AM To: Sun, Vanessa; vtd...@li... Subject: Re: [Vtd-xml-users] using vtd-xml in multi-threaded environment The rule of thumb: one XPath expression per AutoPilot object..., you=20 can attach an AutoPilot object to different VTDnav object, one at a time... =20 are you using multiple threads on the *same* VTDnav object?? ----- Original Message -----=20 From: Sun, Vanessa <mailto:vs...@am...> =20 To: vtd...@li...=20 Sent: Saturday, June 30, 2007 10:57 PM Subject: [Vtd-xml-users] using vtd-xml in multi-threaded environment Has anybody used vtd-xml in the multi-threaded environment?=20 =20 We have multiple threads that could use AutoPilot xpath to read some part of the xml, do I need to create multiple AutoPilot objects? How about the VTDNav ? Is there any multi-threaded code example?=20 =20 Thanks. =20 -------------------------- Cheers, Vanessa =20 =09 ________________________________ =09 =09 ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/=20 =09 ________________________________ =09 _______________________________________________ Vtd-xml-users mailing list Vtd...@li... https://lists.sourceforge.net/lists/listinfo/vtd-xml-users =09 |