[xml] xmlInitParser and xmlCleanupParser


 I am using libXml in a multithreaded program. 

Is it necessary to call xmlInitParser in each of thread before using the API?

Is it necessary to call xmlCleanupParser corresponding to each xmlInitParser?

Is there any problem if i called xmlInitParser multiple times in a single thread?

Also even if never called xmlInitParser i can parse xml files. Why this happens?

regards manu

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