Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: cygwin-developers AT cygwin DOT com Subject: Re: muto object. Message-ID: <20010917133617.A22900@cygbert.vinschen.de> Reply-To: cygdev Mail-Followup-To: cygwin-developers AT cygwin DOT com References: <20010917000144 DOT A7155 AT redhat DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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.