Re: [xml] libxml2 and thread-safety



On Mon, 2001-10-08 at 14:24, Daniel Veillard wrote:
[snip]
  Check the archives, this was discussed at length last week and is being
worked on. multiple threads parsing different documents should work once
initialized properly, there might be undiscovered problems w.r.t. the HTML
parser though.

ok. i read the archives. i am wondering what you mean for "once
initialized properly". i call the init stuff before going multithread
and my threads parse different documents (at the same time). is that
safe or i need to use a global lock to arbitrate access to the parser?
from the archives i would bet on the lock, but your mail seems going the
other way... 

anticipated thanx,
federico

-- 
Federico Di Gregorio
Debian GNU/Linux Developer & Italian Press Contact        fog debian org
INIT.D Developer                                           fog initd org
  Spesso crescere ed andare a vivere da soli è l'unico modo di restare
   bambini.                                             -- Alice Fontana





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]