www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/12/08/11:52:28

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Message-ID: <384E99B3.C5C2E9BE@ibm.net>
Date: Wed, 08 Dec 1999 12:47:31 -0500
From: John Fortin <fortinj AT ibm DOT net>
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Mumit Khan <khan AT nanotech DOT wisc DOT edu>
CC: "cygwin-developers AT sourceware DOT cygnus DOT com"
<cygwin-developers AT sourceware DOT cygnus DOT com>
Subject: Re: pthreads status?
References: <199912081632 DOT KAA07943 AT mercury DOT xraylith DOT wisc DOT edu>


Mumit Khan wrote:

> John Fortin <fortinj AT ibm DOT net> writes:
> >
> > I seem to recall from the pthreads-win32 webpage that win95/98 are not
> > supported because
> > of the following...  ( from http://sourceware.cygnus.com/pthreads-win32/ )
> >      The latter two need to be built on Win NT before they will be able to
> > link applications which use
> >      pthreads-win32. This is because the Win95 kernel32.dll does not include
> > the functions _beginthreadex and
> >      _endthreadex.
>
> Should be fixed by now ... the *threadex functions are exported by MSVCRT
> DLL, not CRTDLL. Either way, not usable by Cygwin.
>

    However, maybe we can borrow some of the other code..

>
> >      Also note that neither Cygwin nor Mingw32 are able to build the library
> > at this point because they lack
> >      thread-safe exception handling in g++ (the library uses exceptions and
> > so building with gcc, although the
> >      code should compile, is not recommended if you want proper behaviour).
>
> I added thread-safe C++ exceptions to Mingw32, and pthreads-win32 now works
> like a charm.

Now that's a COOL thing... :) I''ll be able to use that!

>
>
> > I do my coding on Win98, so I can't compile the code.    I can't comment on
> > the g++ exception handling.
>
> I ran all the tests on my laptop, which runs Win98.
>
> See, things do change for the better ;->
>
> Regards,
> Mumit




- Raw text -


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