From owner-freebsd-hackers Mon Nov 5 23:19:18 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.acns.ab.ca (h24-68-206-125.sbm.shawcable.net [24.68.206.125]) by hub.freebsd.org (Postfix) with ESMTP id 290A737B416 for ; Mon, 5 Nov 2001 23:19:16 -0800 (PST) Received: from colnta.acns.ab.ca (colnta.acns.ab.ca [192.168.1.2]) by mail.acns.ab.ca (8.11.6/8.11.3) with ESMTP id fA67JFM25251 for ; Tue, 6 Nov 2001 00:19:15 -0700 (MST) (envelope-from davidc@colnta.acns.ab.ca) Received: (from davidc@localhost) by colnta.acns.ab.ca (8.11.6/8.11.3) id fA67JFE06762 for freebsd-hackers@freebsd.org; Tue, 6 Nov 2001 00:19:15 -0700 (MST) (envelope-from davidc) Date: Tue, 6 Nov 2001 00:19:15 -0700 From: Chad David To: freebsd-hackers@freebsd.org Subject: POSIX and ETIMEDOUT Message-ID: <20011106001915.A6529@colnta.acns.ab.ca> Mail-Followup-To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG When I compile with _POSIX_SOURCE defined the ETIMEDOUT return value from pthread_cond_timedwait() is no longer defined. My understanding is that if I define _POSIX_SOURCE all vendor extentions will be "disabled", does this include the definition of ETIMEDOUT? What is the correct way to use pthread_cond_timedwait() within a base POSIX application? I've searched the archives, but I don't really know what I'm looking for... Thanks. -- Chad David davidc@acns.ab.ca ACNS Inc. Calgary, Alberta Canada To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message