www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/12/08/09:41:36

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: <384E7B0D.9E23CC6E@ibm.net>
Date: Wed, 08 Dec 1999 10:36:45 -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: "cygwin-developers AT sourceware DOT cygnus DOT com"
<cygwin-developers AT sourceware DOT cygnus DOT com>
Subject: Re: pthreads status? [was Re: [Fwd: Many changes in latest snapshot]]
References: <384DB810 DOT 57DA8A2B AT ibm DOT net> <199912080415 DOT WAA13883 AT mercury DOT xraylith DOT wisc DOT edu> <19991208001627 DOT A1075 AT cygnus DOT com>

Chris Faylor wrote:

> On Tue, Dec 07, 1999 at 10:15:28PM -0600, Mumit Khan wrote:
> >Just searched the archives for both cygwin and cygwin-developers lists,
> >looking for pthread related discussion. Not much at all, so here're
> >my two little questions:
> >
> >1. Anybody actively working on it?
>
> No, not that I'm aware of.
>

I'll start looking at it again.  December is sort of slow right now ( until
Dec 28 - Jan 5.   Damn Y2K crap at work...).
I'll split some time btwn xfree86 and this if you like.

> >2. Why not try to reuse code from pthreads-win32 project? License
> >   issue raises its ugly head again (isn't the copyright there owned
> >   by Cygnus as well?)?
>
> The code should be copyright Cygnus since Ben Elliston developed it, so
> there is no reason not to integrate it, I guess.  I have always thought
> that it would be a culture clash since pthreads-win32 does not understand
> anything about cygwin.  I would think that that would be important.
>

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.

     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).

     While the library cannot yet be built with the GNU compilers,
applications can be built with Mingw32
     provided Mingw32 uses the MSVCRT (see Q1 of the FAQ). In this case you
can use the prebuilt DLL if you
     don't have MSVC.

I do my coding on Win98, so I can't compile the code.    I can't comment on
the g++ exception handling.

John


- Raw text -


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