From owner-freebsd-ports Wed Mar 24 13:23: 5 1999 Delivered-To: freebsd-ports@freebsd.org Received: from dolphin.be.to (point1.be.to [210.235.212.29]) by hub.freebsd.org (Postfix) with ESMTP id 9F16614DC5 for ; Wed, 24 Mar 1999 13:22:56 -0800 (PST) (envelope-from okazaki@be.to) Received: from dune2.infonia.ne.jp (root@dune2.infonia.ne.jp [202.222.162.60]) by dolphin.be.to (8.8.8+3.0Wbeta13/BETO.1.6-1999032421000000) with ESMTP id GAA19937; Thu, 25 Mar 1999 06:21:36 +0900 Received: from acidrain.localnet (ppp15-Mobara1.mtci.ne.jp [210.172.1.217]) by dune2.infonia.ne.jp (8.8.8/3.7W-bt2) with ESMTP id GAA12980; Thu, 25 Mar 1999 06:21:33 +0900 Message-Id: <199903242121.GAA12980@dune2.infonia.ne.jp> Date: Thu, 25 Mar 1999 06:16:46 +0900 From: OKAZAKI Tetsurou To: kline@tao.thought.org Cc: freebsd-ports@freebsd.org Subject: Re: xflame missing nanosleep in 2.2.8 In-Reply-To: In your message of "Wed, 24 Mar 1999 09:31:06 -0800 (PST)" <199903241731.JAA12620@tao.thought.org> References: <199903241731.JAA12620@tao.thought.org> User-Agent: Wanderlust/0.9.7 (Everything She Wants) WEMI/1.13.3 (Yaizu) FLIM/1.12.5 (Hirahata) Emacs/20.3 (i386--freebsd) MULE/4.0 (HANANOEN) Organization: Personal. MIME-Version: 1.0 (generated by WEMI 1.13.3 - "Yaizu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, At Wed, 24 Mar 1999 09:31:06 -0800 (PST), Gary Kline wrote: > Does anybody know if we are missing a nanosleep() library call in > FBSD-2.2.8? Is this in 3.X, or is nanosleep() a Linuxism? A new > X11R6 addition? The nanosleep() function is a POSIXism:-). Online man page says that 3.X and 4.0-current both provide nanosleep() as a system call function. In 2.2.8, nanosleep() is implemented in the libc_r though undocumented: bash$ uname -r 2.2.8-RELEASE bash$ locate nanosleep /usr/src/lib/libc_r/uthread/uthread_nanosleep.c So maybe you have to pass the flag '-pthread' to the compiler. Tetsurou. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message