www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/12/07/20:34:02

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: <384DB810.57DA8A2B@ibm.net>
Date: Tue, 07 Dec 1999 20:44:48 -0500
From: John Fortin <fortinj AT ibm DOT net>
X-Sender: "John Fortin" <@smtp-gw01.ny.us.ibm.net> (Unverified)
X-Mailer: Mozilla 4.61 [en]C-gatewaynet (Win98; U)
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: <199912072147 DOT PAA11869 AT mercury DOT xraylith DOT wisc DOT edu>

Mumit,
	Here are the various pthread functions defined in cygwin.din.
The 2 major file for pthread implementation are pthread.cc, thread.cc
There are also  thread.h and include/pthread.h include files.

Hope this helps

pthread_create        JEF
pthread_attr_init      ?        Handles only stacksize
pthread_attr_destroy   ?         ""      ""     ""
pthread_attr_setstacksize ?
pthread_attr_getstacksize ?
pthread_exit          JEF
pthread_join          JEF 
pthread_detach        JEF 
pthread_suspend       JEF 
pthread_continue      JEF
pthread_key_create    NO
pthread_key_delete    NO
pthread_setspecific   NO
pthread_getspecific   NO
pthread_kill          JEF 
pthread_sigmask        ?
pthread_self          JEF
pthread_equal         JEF 
pthread_mutex_init     ?
pthread_mutex_lock     ?
pthread_mutex_unlock   ? 
pthread_mutex_destroy  ?
sem_init               ? 
sem_destroy            ?
sem_wait               ?
sem_trywait            ?
sem_post               ?

Where:
	NO  = not implemented
	JEF = some initial testing by me
	?   = implemented, but not tested by me.


Mumit Khan wrote:
> 
> John Fortin <fortinj AT ibm DOT net> writes:
> >
> > Since I've added some of the functionality for pthreads, please keep me
> > in the loop.
> > I've not been working on it much due to the xfree86 port, but if this is
> > starting to take off, I can make time.
> >
> 
> Right now I'm trying to figure out how pthreads is glued onto Cygwin, and
> also trying to figure out exactly what's missing. I have a few thousand
> errors messages to go through from my last attempt to build a reasonably
> MT-heavy multi-threaded tool; most of these error messages are bound to
> be cascades from missing type definitions etc.
> 
> John, can you or someone else involved summarize quickly exactly what is
> there and what is not? That will really cut down on the hunt and fix
> time.
> 
> Regards,
> Mumit

- Raw text -


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