comp.lang.ada
 help / color / mirror / Atom feed
From: jerry@jvdsys.nextjk.stuyts.nl (Jerry van Dijk)
Subject: Re: A Text_IO question I never dared to ask...
Date: 1996/07/03
Date: 1996-07-03T00:00:00+00:00	[thread overview]
Message-ID: <DtzGJA.22@jvdsys.nextjk.stuyts.nl> (raw)
In-Reply-To: 4rac4g$pc5@eri2.erinet.com


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   --




      reply	other threads:[~1996-07-03  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-01  0:00 A Text_IO question I never dared to ask Jerry van Dijk
1996-07-02  0:00 ` James E. Hopper
1996-07-03  0:00   ` Jerry van Dijk [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox