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=0.6 required=5.0 tests=BAYES_40,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,75fea881fcdefe0 X-Google-Attributes: gid103376,public From: jerry@jvdsys.nextjk.stuyts.nl (Jerry van Dijk) Subject: Re: A Text_IO question I never dared to ask... Date: 1996/07/03 Message-ID: #1/1 X-Deja-AN: 163629139 references: <4rac4g$pc5@eri2.erinet.com> organization: JerryWare HQ, Haarlem, Holland newsgroups: comp.lang.ada Date: 1996-07-03T00:00:00+00:00 List-Id: James E. Hopper (jhopper@erinet.com) wrote: : Why is there no record (or even file) locking in Text_IO ??? : the basic stdIO routines used by text_io : are all using lock, unlock calls around them. Yes, task locks. To make sure the IO routines are thread-safe. However, this is something different from file locking, which is there to prevent other processes to access/change the external file content behind your back. -- ----------------------------------------------------------------------- -- Jerry van Dijk -- e-mail: jerry@jvdsys.nextjk.stuyts.nl -- -- Banking Consultant -- Member Team-Ada -- -- Ordina Finance BV -- Located at Haarlem, The Netherlands --