[PATCH] Re: pthread -- Corinna?
Tue Apr 17 05:10:00 GMT 2001
----- Original Message -----
From: "Corinna Vinschen" <firstname.lastname@example.org>
To: "cygpat" <email@example.com>; <firstname.lastname@example.org>
Sent: Tuesday, April 17, 2001 10:05 PM
Subject: Re: [PATCH] Re: pthread -- Corinna?
> On Tue, Apr 17, 2001 at 08:30:11PM +1000, Robert Collins wrote:
> > From: "Corinna Vinschen" <email@example.com>
> When I changed the code in passwd.cc and grp.cc once, I was annoyed
> about the usage of fopen in these internal functions. However, I
> didn't change it due to the usage of fgets(). I'm pretty sure
> it would be better to use CreateFile/ReadFile/CloseHandle in
> read_etc_...() than high-level libc functions. This would drop the
> need for the ..._sem variables once and for all. No open(), no
> ntsec, no recursion. It only would have to care for line endings
> by itself.
Sounds good to me. I'll bow out of this, my main goal was to get a
thread safe _r set of functions, and as the recursion issue is
More information about the Cygwin-patches