delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Date: | Sun, 13 Oct 2002 13:49:42 +0400 |
From: | egor duda <deo AT logos-m DOT ru> |
Reply-To: | egor duda <cygwin AT cygwin DOT com> |
Organization: | deo |
X-Priority: | 3 (Normal) |
Message-ID: | <147760973461.20021013134942@logos-m.ru> |
To: | Andrew Lynch <lynchaj AT yahoo DOT com> |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: pthreads in YahooPOPs |
In-Reply-To: | <20021013011938.9273.qmail@web11501.mail.yahoo.com> |
References: | <20021013011938 DOT 9273 DOT qmail AT web11501 DOT mail DOT yahoo DOT com> |
MIME-Version: | 1.0 |
Hi! Sunday, 13 October, 2002 Andrew Lynch lynchaj AT yahoo DOT com wrote: AL> http://sourceforge.net/projects/yahoopops AL> on Cygwin but have run into a problem with pthreads. AL> The lines below do not compile even though Cygwin AL> supports pthreads and pthread.h is included in the AL> header file. AL> lock.__m_reserved = 0; AL> lock.__m_count = 0; AL> lock.__m_owner = 0; AL> lock.__m_kind = PTHREAD_MUTEX_TIMED_NP; AL> lock.__m_lock.__status = 0; AL> lock.__m_lock.__spinlock = __LT_SPINLOCK_INIT; AL> Does anyone know why these pthread commands(?) are not AL> supported or won't compile? The project you're talking about is using non-portable method of dealing with pthreads. Pthread interface doesn't specify an internal structure of pthread primitives, so their actual implementation may vary (and does vary) between different systems. You should ask YahooPOPs people to use portable constructs so that their code can be compiled on any system which supports pthread interface. Egor. mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |