Re: [ROOT] Locking root files

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue May 02 2000 - 18:43:07 MEST


Hi Anton,

look at

  http://root.cern.ch/root/html/TDirectory.html#TDirectory:ReadKeys
  http://root.cern.ch/root/html/TDirectory.html#TDirectory:SaveSelf


Rene Brun

KOSU_FOKIN@garbo.lucas.lu.se wrote:
> 
> Hi rooters,
> 
> is there an opportunity to "lock" a root file? I have an event
> logger, which writes events in a root file and a client, which
> reads and process them. It works fine until logger performs
> autosave of a root tree and the client tryes to recover keys
> from "not closed" file at the same time. Then everything crashes.
> 
> Any suggestions?
> 
> /Anton



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