[xml] Memory concerns in multi-threaded applications
- From: Ganesh Sivaraman <ganesh sivaraman wipro com>
- To: xml gnome org
- Subject: [xml] Memory concerns in multi-threaded applications
- Date: 07 Jan 2003 19:02:25 +0530
Hi,
I was reading the "Memory Management" section about the
xmlCleanUpParser() routine. It says "..but be careful of the
consequences in multithreaded applications.."
I'm using the parser routines in a multi-threaded appln. The
xmlInitParser() is called in the main() program and the
xmlCleanUpParser() routine is called after the parsing is done(in, say,
getXmlInfo()). Now, if 2 or more threads invoke the getXmlInfo()
simultaneously, would there be any problems when they call the
xmlCleanUpParser() i.e. what care has to be taken for multi-threaded
applns?
thanks
ganesh
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]