Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!lll-lcc!lll-tis!ptsfa!hoptoad!academ!uhnix1!sugar!peter
From: peter@sugar.UUCP (Peter DaSilva)
Newsgroups: comp.sys.amiga
Subject: Re: Comments on the uniqueness of task & window id's
Message-ID: <386@sugar.UUCP>
Date: Sat, 11-Jul-87 18:16:27 EDT
Article-I.D.: sugar.386
Posted: Sat Jul 11 18:16:27 1987
Date-Received: Sat, 18-Jul-87 13:36:05 EDT
References: <8706260543.AA20346@cogsci.berkeley.edu> <4445@ihlpa.ATT.COM>
Organization: Sugar Land UNIX - Houston, TX
Lines: 18
Keywords: ID-handler

> processid.  This works until a shell (possibly a background job running
> a script) produces such a pipeline and then goes away, and then another
> shell appears in its same place (it must be Friday the 13th!).  If
> this shell tries to produce a similar pipeline, there could be name
> conflicts with the extant pipes from the previous shell.

Do what UNIX programs do to create files in /tmp. What you do
is: 

	Create name filename.digits.A
	begin:
		Examine it.
		If it exists, create name filename.digits.B,
			and try again.
	end:
	create the file and boogie.
-- 
-- Peter da Silva `-_-' ...!seismo!soma!uhnix1!sugar!peter (I said, NO PHOTOS!)