finding ....

Konst Sushenko konsu@microsoft.com
Tue, 19 Mar 2002 18:48:26 -0800


Moved to haskell caf=E9

I do not have a code example, but how about a system that compiles =
different (and say independent) software projects in parallel, and which =
uses the same code to create temporary files needed for compilation?

konst

> -----Original Message-----
> From: David Sankel [mailto:camio@yahoo.com]=20
> Sent: Tuesday, March 19, 2002 6:38 PM
> To: Pixel; Lennart Augustsson
> Cc: haskell@haskell.org
> Subject: Re: finding ....
>=20
>=20
> --- Pixel <pixel@mandrakesoft.com> wrote:
> > Lennart Augustsson <lennart@augustsson.net> writes:
> >=20
> > > > Diego Yanivello wrote:
> > > >=20
> > > > > hi,    is there (in Haskell) a function like =20
> >      existFile :: FilePath ->
> > > > > IO (Bool) ? Thanks!
> > >=20
> > > Using such a function is generally a bad idea
> > because of race conditions.
> >=20
> > however, real world programs use those tests since
> > you don't need to care
> > *everytime* about race conditions. (of course using
> > this existFile before
> > creating a temporary file is wrong, but existFile
> > has *many* other
> > applications)
>=20
> Could someone post an example of the creation of a
> temporary file where race conditions are important?
>=20
> Thanks,
>=20
> David J. Sankel
>=20
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - live college hoops coverage
> http://sports.yahoo.com/
> _______________________________________________
> Haskell mailing list
> Haskell@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell
>=20