X-Recipient: archive-cygwin@delorie.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 To: cygwin@cygwin.com Subject: problem with pthread.h Message-ID: User-Agent: Alpine 1.10 (LFD 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.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/