delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/09/17/07:36:27

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: Mon, 17 Sep 2001 13:36:17 +0200
From: Corinna Vinschen <vinschen AT redhat DOT com>
To: cygwin-developers AT cygwin DOT com
Subject: Re: muto object.
Message-ID: <20010917133617.A22900@cygbert.vinschen.de>
Reply-To: cygdev <cygwin-developers AT cygwin DOT com>
Mail-Followup-To: cygwin-developers AT cygwin DOT com
References: <EA18B9FA0FE4194AA2B4CDB91F73C0EF08F17D AT itdomain002 DOT itdomain DOT net DOT au> <20010917000144 DOT A7155 AT redhat DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <20010917000144.A7155@redhat.com>; from cgf@redhat.com on Mon, Sep 17, 2001 at 12:01:44AM -0400

On Mon, Sep 17, 2001 at 12:01:44AM -0400, Christopher Faylor wrote:
> >>I really wish that Microsoft had given us an open a thread given the
> >>thread id function similar to OpenProcess.  I think I read somewhere
> >>that they actually did have a reason for not doing so but it makes
> >>these kind of situations hard.
> >
> >They did, it's 2k+ only :[.  GetThreadHandle (Id) IIRC.
> 
> Yeah.  I should have qualified that.  I remember being surprised to see
> that function after having read that they specifically did not provide
> this interface previously.

OpenThread() is W2K+ and ME(!)

However, this is the Win32 API.  The OpenThread functionality would
already be available in earlier NTs by autoloading the NtOpenThread()
or ZwOpenThread() functions from ntdll.dll.

Only 95/98 would lack that support.

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