X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Tue, 3 Aug 2010 16:56:36 +0800 Message-ID: Subject: 1.7.5-1 : is the type 'pthread_spinlock_t' supported? From: David Zhang To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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? If it doesn't for now, is there any plan for Cygwin to support it? Thx! Best regards, David Zhang -- 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