Re: [xml] Some things about xmlCharEncodingHandler
- From: Igor Zlatkovic <igor zlatkovic com>
- To: oliverst online de
- Cc: xml gnome org
- Subject: Re: [xml] Some things about xmlCharEncodingHandler
- Date: Sat, 07 Feb 2004 19:14:42 +0100
Oliver Stöneberg wrote:
Might this cause some problems, if you just change the callbacks
while libxml2 might be in use? I am not sure how it is protected or
sync'd internally. Because if somebody is using the handler while you
change it might use the first callback, which still be the old one
and then the second callback, which is already the new one. Would be
a bad thing IMO.
While somebody is using it? Who is somebody? When your program loads
libxml, its data belong to your program's address space. There can never
be another who uses that. Any other process has its own address space
and its own instance of libxml data.
Ciao,
Igor
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]