delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/09/12/12:48:21

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Wed, 12 Sep 2001 18:48:12 +0200
From: Corinna Vinschen <vinschen AT redhat DOT com>
To: cygwin-developers AT cygwin DOT com
Subject: Re: Quick testfeedback...
Message-ID: <20010912184812.Z1285@cygbert.vinschen.de>
Reply-To: cygdev <cygwin-developers AT cygwin DOT com>
Mail-Followup-To: cygwin-developers AT cygwin DOT com
References: <1000209619 DOT 7293 DOT 196 DOT camel AT lifelesswks> <20010912184031 DOT X1285 AT cygbert DOT vinschen DOT de>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <20010912184031.X1285@cygbert.vinschen.de>; from vinschen@redhat.com on Wed, Sep 12, 2001 at 06:40:31PM +0200

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 AT cygwin DOT com
Red Hat, Inc.

- Raw text -


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