Date: Thu, 25 Mar 1999 06:16:46 +0900 From: OKAZAKI Tetsurou <okazaki@be.to> To: kline@tao.thought.org Cc: freebsd-ports@freebsd.org Subject: Re: xflame missing nanosleep in 2.2.8 Message-ID: <199903242121.GAA12980@dune2.infonia.ne.jp> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, At Wed, 24 Mar 1999 09:31:06 -0800 (PST), Gary Kline <kline@tao.thought.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903242121.GAA12980>