From owner-freebsd-threads@FreeBSD.ORG Mon May 24 13:24:13 2010 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B61B51065672 for ; Mon, 24 May 2010 13:24:13 +0000 (UTC) (envelope-from chris@cvine.freeserve.co.uk) Received: from smtp5.freeserve.com (smtp5.freeserve.com [193.252.22.159]) by mx1.freebsd.org (Postfix) with ESMTP id 7813B8FC1B for ; Mon, 24 May 2010 13:24:13 +0000 (UTC) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3401.me.freeserve.com (SMTP Server) with ESMTP id 808E71C00041 for ; Mon, 24 May 2010 15:05:13 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3401.me.freeserve.com (SMTP Server) with ESMTP id 727DC1C0005F for ; Mon, 24 May 2010 15:05:13 +0200 (CEST) Received: from boulder.homenet (unknown [91.106.62.39]) by mwinf3401.me.freeserve.com (SMTP Server) with ESMTP id 2ED3E1C00041 for ; Mon, 24 May 2010 15:05:13 +0200 (CEST) X-ME-UUID: 20100524130513192.2ED3E1C00041@mwinf3401.me.freeserve.com Received: from boulder.homenet (IDENT:1000@localhost [127.0.0.1]) by boulder.homenet (8.14.3/8.14.3) with ESMTP id o4OD5DhQ015767 for ; Mon, 24 May 2010 14:05:14 +0100 Date: Mon, 24 May 2010 14:05:13 +0100 From: Chris Vine To: freebsd-threads@freebsd.org Message-ID: <20100524140513.6475cb2c@boulder.homenet> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Monotonic clocks X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2010 13:24:13 -0000 Hi, I am the upstream maintainer of efax-gtk and I am told recent versions of the program will not compile on the FreeBSD port of debian, because FreeBSD does not appear to provide pthread_condattr_setclock() to set a monotonic clock on condition variables. The program configuration script calls up sysconf() to determine whether the POSIX advanced realtime option (_SC_MONOTONIC_CLOCK) is provided, and FreeBSD's sysconf() indicates that it is. Is anything else needed to enable monotonic clocks on BSD, or is sysconf() incorrectly advertising the implementation of monotonic clocks in BSD's libc? Chris