delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/02/18/10:31:16

Delivered-To: listarch-cygwin AT sourceware DOT cygnus DOT com
Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <36CBEB4D.1596E9F8@uni-duesseldorf.de>
Date: Thu, 18 Feb 1999 11:28:29 +0100
From: Stipe Tolj <tolj AT uni-duesseldorf DOT de>
Organization: Department of Economical Computer Science, University of Cologne,
Germany
X-Mailer: Mozilla 4.05 [de]C-NECCK (Win95; I)
MIME-Version: 1.0
To: Christian Brunschen <cb AT df DOT lth DOT se>
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Pthreads in cygwin
References: <Pine DOT LNX DOT 4 DOT 05-df DOT 9902181026290 DOT 29904-100000 AT bartlet DOT df DOT lth DOT se>

> I was wondering how I would go about using pthreads in cygwin? The b20.1
> release does not appear to support them, but more recent snapshots do
> contain what looks like pthreads support.

That's right. Recent snapshots support the --enable-threadsafe for the
configure process. The build cygwin1.dll and dependend libs will implement
some pthread_* functions as usually available within the libpthread.a
library (i.e. MIT's pthread) on other systems.

As Geoffrey and other from Cygnus have stated the pthread functions within
the latest snapshots are *very expertimental* and may not work at all.

I have tried to compile some simple example programs using pthread
functions. They do build, but crash with a segmentation fault error on a
Win98 box.

Regards,
Stipe

--
Stipe Tolj <tolj AT uni-duesseldorf DOT de>

Cygwin Porting Project -- "We build UNIX on top of Windows"
http://www.student.uni-koeln.de/cygwin/

Department of Economical Computer Science
University of Cologne, Germany




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com


- Raw text -


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