Re: [ROOT] Simultaneous updating of ROOT file

From: Damir Buskulic (buskulic@lapp.in2p3.fr)
Date: Fri Jul 28 2000 - 15:36:52 MEST


>From what I know, no.
There is no, in ROOT, locking mechanism at the file level which would
allow simultaneous writing. It's write once, read many. You may have as
many readers as you want.
One possibility is to have only one process writing, but that receives
data from other processes.

Cheers

Damir

Airat A. Sadreev wrote:
> 
> A ROOT file placed on network drive. Data in the ROOT file can be accessed
> for read and update with many instances of same application simultaneously.
> If, for example, to instances of the application add object to the file,
> does TFile work correctly in this case?
> 
> Thank you.

-- 
=====================================================================
| Damir Buskulic                  | Universite de Savoie/LAPP       |
|                                 | Chemin de Bellevue, B.P. 110    |
| Tel : +33 (0)450091600          | F-74941 Annecy-le-Vieux Cedex   |
| e-mail: buskulic@lapp.in2p3.fr  | FRANCE                          |
=====================================================================
mailto:buskulic@lapp.in2p3.fr



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:30 MET