From: casper@fwi.uva.nl (Casper H.S. Dik)
Subject: Re: Fork bug in Sys5 (or similar) system
Date: 31 May 1994 20:07:31 GMT [thread overview]
Message-ID: <2sg5e3$gmt@mail.fwi.uva.nl> (raw)
In-Reply-To: 2sg3h3$onq@overload.lbl.gov
jin@eubie.lbl.gov (Guojun Jin[ITG]) writes:
>In this testing program, doing fflush() on input is not meanful, except
>re-postioning the file point postion (does this mean that system keep two
>positions for one file ??? Very poor implementation). If the input is a huge
>data set (say 100MB image data), then, does fflush() intend to flush entire data
>set into the system cache to get the file postion adjusted ?
Of course not. It doesn't need to do much.
>BSD does it better, and SGI fixed its problem, Why not others?
Your test programs remain flawed because they call exit() in the child
of a fork(). That is wrong and has always been wrong.
Casper
next prev parent reply other threads:[~1994-05-31 20:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-05-25 22:16 Fork bug in Sys5 (or similar) system Guojun Jin[ITG]
1994-05-26 7:52 ` Casper H.S. Dik
1994-05-26 18:16 ` William Armitage
1994-05-27 8:48 ` Casper H.S. Dik
1994-05-27 12:59 ` Dave Johnson
1994-05-27 13:40 ` Casper H.S. Dik
1994-05-28 2:51 ` Doug Gwyn (ACISD/MCSB) <gwyn>
1994-05-31 1:25 ` Peter da Silva
1994-05-26 18:08 ` Doug Gwyn (ACISD/MCSB) <gwyn>
1994-05-31 19:34 ` Guojun Jin[ITG]
1994-05-31 20:07 ` Casper H.S. Dik [this message]
1994-06-01 22:06 ` Peter da Silva
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox