delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/12/08/00:17:03

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
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Wed, 8 Dec 1999 00:16:27 -0500
To: Mumit Khan <khan AT nanotech DOT wisc DOT edu>
Cc: John Fortin <fortinj AT ibm DOT net>,
"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]]
Message-ID: <19991208001627.A1075@cygnus.com>
Mail-Followup-To: Mumit Khan <khan AT nanotech DOT wisc DOT edu>,
John Fortin <fortinj AT ibm DOT net>,
"cygwin-developers AT sourceware DOT cygnus DOT com" <cygwin-developers AT sourceware DOT cygnus DOT com>
References: <384DB810 DOT 57DA8A2B AT ibm DOT net> <199912080415 DOT WAA13883 AT mercury DOT xraylith DOT wisc DOT edu>
Mime-Version: 1.0
X-Mailer: Mutt 1.0i
In-Reply-To: <199912080415.WAA13883@mercury.xraylith.wisc.edu>; from khan@nanotech.wisc.edu on Tue, Dec 07, 1999 at 10:15:28PM -0600

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.

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

>> pthread_key_create    NO
>> pthread_key_delete    NO
>> pthread_setspecific   NO
>> pthread_getspecific   NO
>
>I can cook these up when I get some time.
>
>> pthread_mutex_init     ?
>> pthread_mutex_lock     ?
>> pthread_mutex_unlock   ? 
>> pthread_mutex_destroy  ?
>
>These are quite tricky to get right ... I have to find out if my minimal
>tests failed because of other bugs, or these are not quite working as
>expected. I hate debugging threaded code, as much as I hate debugging
>startup code.

I'll take startup code any day.

>The trouble are the various missing types and macros. I'm hoping to get
>a bit of free time soon, so perhaps I'll take a look.  Now if I can only
>find my pthreads reference ...

I don't know if it will help but the original developers of the pthreads
implementation are listed in the sources.  They used to be subscribed
to cygwin-developers but they haven't replied to my email messages in
a while.  They were the initial contributors of the thread-safe and
pthreads stuff that is currently in cygwin.

Maybe if somebody else contacted them they would be more amenable to
discussing pthreads and possibly they have even continued to develop
the code.

cgf

- Raw text -


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