XmlDocument's LoadXml and concurrency

  • Thread starter Thread starter Sashas
  • Start date Start date
S

Sashas

Hi All

I'm writing a web services that accesses an xml config file. Because
of the possibility of multiple accesses to the config file (through
multiple instances of the web service), I have a concern. Can multiple
instances of my web service lead to a race condition when accessing
this xml file? Does the LoadXml function access the xml files without
locking them?

Thanks,

Alex
 
Sashas said:
Hi All

I'm writing a web services that accesses an xml config file. Because
of the possibility of multiple accesses to the config file (through
multiple instances of the web service), I have a concern. Can multiple
instances of my web service lead to a race condition when accessing
this xml file? Does the LoadXml function access the xml files without
locking them?

LoadXml only reads the file. What sort of race condition could this possibly
cause?
 
Back
Top