From: randhol@pvv.org (Preben Randhol)
Subject: Re: Create-Delete tmp Files
Date: 2000/03/20
Date: 2000-03-20T16:41:06+00:00 [thread overview]
Message-ID: <slrn8dcl5o.2mr.randhol@kiuk0156.chembio.ntnu.no> (raw)
In-Reply-To: 38D63810.6E679322@maths.unine.ch
On Mon, 20 Mar 2000 14:39:12 +0000, Gautier wrote:
[...]
>decide it is the good one: you return the name. Of course one has
>to be careful if there are parallel tasks doing the same, to lock
>the free name as soon as possible maybe by creating an bogus file with
>that name or a more solid method with an array of boolean of the range
>(say Name_locked:= (others=> false)).
Given you are not on a unix OS I guess.
>If the loop exists normally, you raise an exception such as
>no_name_available_for_temp_file...
I was thinking about what can one use to check if a file exists?
It looks like AD.ADB uses Exist, but which package provides this?
--
Preben Randhol -- [randhol@pvv.org] -- <http://www.pvv.org/~randhol/>
"Det eneste trygge stedet i verden er inne i en fortelling."
-- Athol Fugard
prev parent reply other threads:[~2000-03-20 0:00 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-17 0:00 Create-Delete tmp Files Achim Gerhard
2000-03-17 0:00 ` Robert Dewar
2000-03-17 0:00 ` John J Cupak Jr
2000-03-18 0:00 ` Robert Dewar
2000-03-20 0:00 ` Achim Gerhard
2000-03-20 0:00 ` Robert A Duff
2000-03-20 0:00 ` Achim Gerhard
2000-03-20 0:00 ` Robert A Duff
2000-03-20 0:00 ` tmoran
2000-03-21 0:00 ` Achim Gerhard
2000-03-21 0:00 ` Robert Dewar
2000-03-21 0:00 ` Roger Barnett
2000-03-23 0:00 ` Achim Gerhard
2000-03-23 0:00 ` tmoran
2000-03-23 0:00 ` Robert Dewar
2000-03-24 0:00 ` Achim Gerhard
2000-03-24 0:00 ` Robert Dewar
2000-03-20 0:00 ` Gautier
2000-03-20 0:00 ` Preben Randhol
2000-03-20 0:00 ` Gautier
2000-03-20 0:00 ` Preben Randhol [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