From: "Mark E." To: djgpp-workers AT delorie DOT com Date: Wed, 24 Jan 2001 09:50:54 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Where does gcc -o foo make foo.exe Message-ID: <3A6EA57E.11594.10791E@localhost> References: <3A6D9470 DOT 4200 DOT 42F8E2 AT localhost> In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.12c) Reply-To: djgpp-workers AT delorie DOT com > > On Tue, 23 Jan 2001, Mark E. wrote: > > > I used __file_handle_modes to store the required flag so that was no problem. > > Bother. Can we make sure that this works when two different execution > threads are writing and seeking the same handle? E.g., what happens > if a seek is followed by a seek, before the write? A seek just sets a flag. Another seek would do it again. The fill function won't care how many times the flag got set, so I don't see a problem. Mark