From owner-freebsd-java Tue Mar 6 17:28: 3 2001 Delivered-To: freebsd-java@freebsd.org Received: from mail.viasoft.com.cn (unknown [61.153.1.177]) by hub.freebsd.org (Postfix) with ESMTP id 4814037B718 for ; Tue, 6 Mar 2001 17:27:59 -0800 (PST) (envelope-from bsddiy@21cn.com) Received: from William ([192.168.1.98]) by mail.viasoft.com.cn (8.9.3/8.9.3) with ESMTP id JAA12288; Wed, 7 Mar 2001 09:23:48 +0800 Date: Wed, 7 Mar 2001 09:33:06 +0800 From: David Xu X-Mailer: The Bat! (v1.48f) Personal Reply-To: David Xu Organization: Viasoft X-Priority: 3 (Normal) Message-ID: <732348376.20010307093306@viasoft.com.cn> To: Nate Williams Cc: Daniel Eischen , java@FreeBSD.ORG Subject: Re[2]: Java and libc/libpthread In-reply-To: <15013.11891.57267.160163@nomad.yogotech.com> References: <15013.10075.22410.630598@nomad.yogotech.com> <15013.11891.57267.160163@nomad.yogotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello Nate, Wednesday, March 07, 2001, 2:37:39 AM, you wrote: >> > > I'm currently working on an NxN libpthread implementation as >> > > an interim solution until we get KSEs. The goal is to get >> > > this done before 5.0. >> > >> > How is this different from the current implementation? >> >> File descriptors will not be made non-blocking like they are >> currently in libc_r. When a thread blocks on I/O, it _really_ >> blocks -- no other threads will be scheduled within that >> [rfork_thread'd/cloned] process. NW> So, reversing the logic ('not be made non-blocking'), file descriptors NW> will be made blocking? This doesn't seem like progress, but I may not NW> understand the implications. >> Other PTHREAD_SCOPE_SYSTEM >> [rfork_thread] threads will continue to run. NW> So, you're going to create a system similar to Linux-threads, but with a NW> more BSD-like license? NW> Nate hope KSE will be implemented as soon as possible, it will let multiple blocking I/O run in one process at same time. I see this is a great progress. it seems libpthread will become simpler and smaller and more efficient than old libc_r. -- Best regards, David Xu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message