delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/25/13:58:13

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SARE_HEAD_DATE39
X-Spam-Check-By: sourceware.org
Date: Wed, 25 Mar 2009 14:58:54 -0500 (GMT+5)
From: Dana <danav AT cs DOT iusb DOT edu>
To: cygwin AT cygwin DOT com
Subject: problem with pthread.h
Message-ID: <alpine.LFD.1.10.0903251454430.11485@cs25.cs.iusb.edu>
User-Agent: Alpine 1.10 (LFD 962 2008-03-14)
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

I have been trying to compile a program that needs to use the pthread 
library under cygwin. I have installed the newest versions of all of the 
tools. The file pthread.h is there in /usr/include, but the types used in 
it, like pthread_attr_t for example, are normally defined in sys/types.h. 
Except that for cygwin, they are not there. Trying to compile it with an 
older version of the file types.h that had these types defined resulted in 
incompatibilities for other types, like time_t, for example.

Please advise.

Dana Vrajitoru

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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