From owner-freebsd-hackers Mon Apr 24 19:59:23 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by hub.freebsd.org (Postfix) with ESMTP id 95CCD37BD8F for ; Mon, 24 Apr 2000 19:59:21 -0700 (PDT) (envelope-from chris@holly.calldei.com) Received: from holly.calldei.com ([208.191.155.7]) by mta4.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0FTJ00A6FXM3E4@mta4.rcsntx.swbell.net> for freebsd-hackers@FreeBSD.ORG; Mon, 24 Apr 2000 21:58:53 -0500 (CDT) Received: (from chris@localhost) by holly.calldei.com (8.9.3/8.9.3) id VAA16662; Mon, 24 Apr 2000 21:58:50 -0500 (CDT envelope-from chris) Date: Mon, 24 Apr 2000 21:58:49 -0500 From: Chris Costello Subject: Re: Multithreaded server performance In-reply-to: <20000424200351.Y337@beastie.localdomain> To: Brian O'Shea , Daniel Eischen , Jason Evans , A G F Keahan , freebsd-hackers@FreeBSD.ORG Reply-To: chris@calldei.com Message-id: <20000424215849.B14783@holly.calldei.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.4i References: <20000424010315.U337@beastie.localdomain> <20000424141957.W337@beastie.localdomain> <20000424170700.A14783@holly.calldei.com> <20000424200351.Y337@beastie.localdomain> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, April 24, 2000, Brian O'Shea wrote: > Yea, I took a look at lib/libc_r/uthread/uthread_read.c too, but it > didn't paint the whole picture for me. Specifically, I couldn't find > the definition for the _thread_sys_read() function. It looks like the > polling magic to which Jason Evans referred occurs in some interesting > code in uthread_kern.c, though. _thread_sys_read() is the real read(2) syscall. They're renamed to ``_thread_sys_SYSCALL()'' for the purpose of reimplementing them in a thread-friendly manner, as you see with read() there. -- |Chris Costello |Do something unusual today. Accomplish work on the computer. `------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message