[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] to lock/unlock of xml file during a "job"
- From: Daniel Veillard <veillard redhat com>
- To: xml gnome org
- Subject: Re: [xml] to lock/unlock of xml file during a "job"
- Date: Tue, 6 Apr 2004 05:26:48 -0400
On Tue, Apr 06, 2004 at 11:10:57AM +0200, "Andreď V. FOMITCHEV" wrote:
> Hello,
> I wanted to know if it is possible to explicitly (implicitly?) lock an
> xml file during a job (parsing, modifications, etc) as the function
> fcntl, then to unlock explicitly (implicitly?) the file. The goal is
> concurrencial access to the xml files.
Hum, there is no such support within libxml2 as is. But you can
override all the I/O primitives with your own. Check xmlIO.[hc], and
the I/O examples to get an idea how to do this.
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]