delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/01/24/09:51:31

From: "Mark E." <snowball3 AT bigfoot DOT com>
To: djgpp-workers AT delorie DOT com
Date: Wed, 24 Jan 2001 09:50:54 -0500
MIME-Version: 1.0
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: <Pine.SUN.3.91.1010124102132.25819P-100000@is>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019