Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Mon, 22 Jan 2001 22:00:32 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: pthreads on Cygwin Message-ID: <20010122220032.A14127@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <3A6CBEAA DOT 4000002 AT redhat DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <3A6CBEAA.4000002@redhat.com>; from brolley@redhat.com on Mon, Jan 22, 2001 at 06:13:46PM -0500 On Mon, Jan 22, 2001 at 06:13:46PM -0500, Dave Brolley wrote: >Hi, > >According to the online documentation, basic pthread support is >available on Cygwin: >http://sources.redhat.com/cygwin/cygwin-api/std-posix.html#AEN85 > >I've found and #included in /usr/include/pthread.h, however, >, found in /usr/include/sys/features.h, only turns on >_POSIX_THREADS if >a macro named __rtems__ is defined. Similarly for the thread support in >. > >Is this a bug in the headers or is thread support really not there for >vanilla Cygwin? I'm using version 1.1.7 on Windows 95. (Actually, it's a >snapshot from Jan 10 -- I as trying to avoid the "cygwin hangs after >'sed' in 'libtool' during builds problem). I was told by an insider that > and were only recently added. From the ChangeLog, pthread.h has been around for more than a year. sys/features.h was introduced by Joel Sherrill on 2000-12-11, apparently to handle rtems. Apparently he didn't get the cygwin part right. cgf -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple