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]

Re: Quick testfeedback...


On Wed, Sep 12, 2001 at 06:40:31PM +0200, Corinna Vinschen wrote:
> On Tue, Sep 11, 2001 at 10:00:11PM +1000, Robert Collins wrote:
> > +  if (iswinnt)
> > +    InitializeCriticalSection (&criticalsection);
> > +  else
> > +    {
> > +      this->win32_obj_id =::CreateMutex (&sec_none_nih, false, NULL);
> > +      if (!win32_obj_id)
> > +        magic = 0;
> > +    }
> 
> Could somebody give me a short hint why we're using critical
> sections on NT only?  I need some three word only description...
> something memorable...

Whoops, is the fact that TryEnterCriticalSection() is only
available since NT4 the reason, perhaps???

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]