| 
      
      
      From: Sun, V. <vs...@am...> - 2007-07-01 05:57:30
       | 
| 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 | 
| 
      
      
      From: Jimmy Z. <cra...@co...> - 2007-07-01 18:19:42
       | 
| 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... are you using multiple threads on the *same* VTDnav object?? ----- Original Message -----=20 From: Sun, Vanessa=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 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 Thanks. -------------------------- Cheers, Vanessa -------------------------------------------------------------------------= ----- = -------------------------------------------------------------------------= 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/ -------------------------------------------------------------------------= ----- _______________________________________________ Vtd-xml-users mailing list Vtd...@li... https://lists.sourceforge.net/lists/listinfo/vtd-xml-users | 
| 
      
      
      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 | 
| 
      
      
      From: Jimmy Z. <cra...@co...> - 2007-07-02 01:00:23
       | 
| well, having multiple thread access same VTDNav is a feature we will =
introduce in the next
release ... up until now the assumption is that most XML tasks are =
single-threaded...
so it is always like this
parse... xpath1.... xpath2 ...xpath3...etc
I think you are looking for
            xpath1=20
parse  xpath2
            xpath3...
right?
  ----- Original Message -----=20
  From: Sun, Vanessa=20
  To: Jimmy Zhang ; vtd...@li...=20
  Sent: Sunday, July 01, 2007 4:00 PM
  Subject: RE: [Vtd-xml-users] using vtd-xml in multi-threaded =
environment
  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.
  --------------------------
  Cheers,
  Vanessa
-------------------------------------------------------------------------=
-----
  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...
  are you using multiple threads on the *same* VTDnav object??
    ----- Original Message -----=20
    From: Sun, Vanessa=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
    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
    Thanks.
    --------------------------
    Cheers,
    Vanessa
-------------------------------------------------------------------------=
---
    =
-------------------------------------------------------------------------=
    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
-------------------------------------------------------------------------=
---
    _______________________________________________
    Vtd-xml-users mailing list
    Vtd...@li...
    https://lists.sourceforge.net/lists/listinfo/vtd-xml-users
 |