delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/02/16/03:47:09

Delivered-To: listarch-cygwin-developers AT sourceware DOT cygnus DOT com
Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
From: Christopher Faylor <cgf AT cygnus DOT com>
Message-ID: <19990215224742.B11487@cygnus.com>
Date: Mon, 15 Feb 1999 22:47:42 -0500
To: Mumit Khan <khan AT xraylith DOT wisc DOT edu>, Stipe Tolj <tolj AT uni-duesseldorf DOT de>
Cc: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: b20.1 (egcs-1.1.1): making winsup problem
References: <36C843C8 DOT B59F6610 AT uni-duesseldorf DOT de> <Pine DOT SUN DOT 3 DOT 93 DOT 990215104642 DOT 21982E-200000 AT modi DOT xraylith DOT wisc DOT edu>
Mime-Version: 1.0
X-Mailer: Mutt 0.93i
In-Reply-To: <Pine.SUN.3.93.990215104642.21982E-200000@modi.xraylith.wisc.edu>; from Mumit Khan on Mon, Feb 15, 1999 at 10:51:05AM -0600

On Mon, Feb 15, 1999 at 10:51:05AM -0600, Mumit Khan wrote:
>On Mon, 15 Feb 1999, Stipe Tolj wrote:
>
>> 
>> Now I'm ready to go ahead in trying to get pthreads running. Geoffrey mentioned
>> that the latest winsup snapshot supports a configure options caleld
>> --enablethreadsafe to support at least experimental thread support.
>> 
>> Will this include and build the pthread package or will I have to compile it from
>> the pthread-win32 package available at sourceware.cygnus.com?
>> 
>> The latest pthreads-snap-1999-01-23 claims within README to be unable to compile
>> under Cygwin or Mingw. I have compiled successfully the older
>> pthreads-snap-10-20, but when linking the example programs I get undefined
>> references to _beginthreadex and _endthreadex, which obviously are not supported
>> on Win9x systems.
>
>There is now a workaround so that _begin/endthreadex is emulated with
>CreateThread.

I think you are mixing two different packages.  The pthreads package that is
on sourceware is in no way related to cygwin.

When you compile with --enable-threads you get an experimental thread-safe
cygwin1.dll which contains some pthread_* functions.

-chris

- Raw text -


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