[xml] Threads, contexts and errors



Hi,

I am currently implementing a library using libxml2 and I am worried
about 
errors occurring in different threads using libxml2.

I know about xmlSetGenericErrorFunc etc, but is this function thread 
dependent? Will different threads use the same error function?

If I cannot have an error function for each thread, can I change the
'ctxt' 
parameter of the generic error function so that I can perform
thread-dependent 
error logging?

Any ideas? Thanks in advance,

Dominic Eales.




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