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: muto object.


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@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]