delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Tue, 3 Aug 2010 10:06:40 -0400 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: 1.7.5-1 : is the type 'pthread_spinlock_t' supported? |
Message-ID: | <20100803140640.GB21733@ednor.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <AANLkTinE_nY_bWRE=rTV=MMenRtVmD4zw4vp6jrH-AAc AT mail DOT gmail DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <AANLkTinE_nY_bWRE=rTV=MMenRtVmD4zw4vp6jrH-AAc@mail.gmail.com> |
User-Agent: | Mutt/1.5.20 (2009-06-14) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Tue, Aug 03, 2010 at 04:56:36PM +0800, David Zhang wrote: >Hello, everyone. I'm using Cygwin 1.7.5-1 on Windows XP for some >multithread programming using Pthreads. > >I wonder if the type "pthread_spinlock_t" is supported since when I >tried to compile a C code that used "pthread_spinlock_t", GCC said: > >error: expected specifier-qualifier-list before 'pthread_spinlock_t' > >or > >error: 'pthread_spinlock_t' undeclared (first use in this function) >Then I open the file 'pthread.h' in the usr/include folder. It seems >that there isn't any function definitions relating to spinlock like >pthread_spin_init, pthread_spin_lock, etc. So does it means that >'pthread_spinlock_t' is not supported in Cygwin 1.7.5-1? Yes. If you don't see it in /usr/include that does mean it isn't implemented. >If it doesn't for now, is there any plan for Cygwin to support it? >Thx! There are no plans to implement it. Sorry. cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |