This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ntsec patch #4: passwd and group


On Mon, Nov 11, 2002 at 05:47:20PM +0100, Corinna Vinschen wrote:
> I don't think it makes sense to use a sophisticated mutex thingy for
> reading passwd/group info.  See below.

Oops, I forgot the "below".  Actually, the problem might be a problem
only in multi-threaded apps.  Our server processes typically aren't.
And if the application is multi-threaded, it must additionally read
passwd/group from multiple threads.  That's pretty much unlikely.
So a simple mutex should be enough, IMHO.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]