From owner-freebsd-hackers Mon Dec 9 17:37:57 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id RAA22826 for hackers-outgoing; Mon, 9 Dec 1996 17:37:57 -0800 (PST) Received: from mira.net.au (eplet.mira.net.au [203.9.190.17]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id RAA22816 for ; Mon, 9 Dec 1996 17:37:53 -0800 (PST) Received: (qmail 26629 invoked from network); 10 Dec 1996 01:37:51 -0000 Received: from melb.werple.net.au (203.9.190.18) by eplet.mira.net.au with SMTP; 10 Dec 1996 01:37:51 -0000 Received: (from uucp@localhost) by melb.werple.net.au (8.7.6/8.7.3/2) with UUCP id MAA22457; Tue, 10 Dec 1996 12:23:43 +1100 (EST) Received: (from jb@localhost) by freebsd1.cimlogic.com.au (8.7.5/8.7.3) id MAA11043; Tue, 10 Dec 1996 12:15:59 +1100 (EST) From: John Birrell Message-Id: <199612100115.MAA11043@freebsd1.cimlogic.com.au> Subject: Re: poll(2) To: thorpej@nas.nasa.gov Date: Tue, 10 Dec 1996 12:15:58 +1100 (EST) Cc: jb@cimlogic.com.au, terry@lambert.org, hackers@freebsd.org, tech-kern@netbsd.org In-Reply-To: <199612100020.QAA11620@lestat.nas.nasa.gov> from Jason Thorpe at "Dec 9, 96 04:20:58 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Jason Thorpe wrote: > Just wanted to get tech-kern@netbsd.org on this thread, too :-) The "thread kernel" for a user-thread implementation (in libpthread or libc_r in FreeBSD-current) is in user space. *Nothing* in the "real kernel" is affected => tech-user@netbsd.org? 8-) The user-thread implementation just uses the best that the real kernel has to offer. That way, the implementation doesn't get in the way of a kernel thread implementation later on. > > "Discuss." :-) If NetBSD's kernel is moving towards everything being done in timespecs, then the best that the real kernel *should* offer would be a nanopoll syscall with a timespec argument. Then libc could provide wrappers for poll(2) and upoll(2). > Jason R. Thorpe thorpej@nas.nasa.gov Regards, -- John Birrell CIMlogic Pty Ltd jb@cimlogic.com.au; jb@netbsd.org 119 Cecil Street Ph +61 3 9690 6900 South Melbourne Vic 3205 Fax +61 3 9690 6650 Australia Mob +61 18 353 137