From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,80b3e504140e89fd X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-20 10:49:29 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.net.uni-c.dk!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: Config_Files proposal Date: Thu, 20 Jun 2002 19:49:28 +0200 Organization: Centre for Chaos and Turbulence Studies, Niels Bohr Institute Message-ID: <3D1215A8.719D39C5@nbi.dk> References: <3D0FAC67.A4861809@san.rr.com> <3D10B6B1.AFE9D4E8@san.rr.com> <3D10E046.E604231D@san.rr.com> <3D1204B5.4620F160@san.rr.com> NNTP-Posting-Host: alf.nbi.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.net.uni-c.dk 1024595369 11022 130.225.212.55 (20 Jun 2002 17:49:29 GMT) X-Complaints-To: usenet@news.net.uni-c.dk NNTP-Posting-Date: Thu, 20 Jun 2002 17:49:29 +0000 (UTC) X-Mailer: Mozilla 4.78 [en] (X11; U; OSF1 V4.0 alpha) X-Accept-Language: fo,da,no,sv,is,de,fr,en Xref: archiver1.google.com comp.lang.ada:26503 Date: 2002-06-20T19:49:28+02:00 List-Id: Darren New wrote: > > Stephen Leake wrote: > > Let's see. You have two instances of "text_edit", sharing one config > > file. That is explicitly forbidden by requirement 1. > > Then requirement one should speak of concurrent use, rather than > simultaneous use. :-) This discussion made me think of how my e-mail client works (typically, I have five running instances of it). It somehow keeps an eye on changes to the configuration file, so if one instance has saved a changed configuration, the other instances will (when they happen to feel like looking at the configuration file) complain, and ask if I want to use the in-memory or the disk configuration. I don't know how trivial the implementation of this feature is, but just keeping a copy of the time stamp of the file with the in-memory configuration would help a bit, although one also could use a file check-sum. Jacob -- People in cars cause accidents. Accidents in cars cause people.