From owner-freebsd-java Tue Mar 6 10:48:58 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 11CEA37B718 for ; Tue, 6 Mar 2001 10:48:55 -0800 (PST) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.1/8.11.1) id f26Ilsg02332; Tue, 6 Mar 2001 19:47:54 +0100 (CET) (envelope-from ernst) Date: Tue, 6 Mar 2001 19:47:54 +0100 From: Ernst de Haan To: Daniel Eischen Cc: Nate Williams , java@FreeBSD.ORG Subject: Re: Java and libc/libpthread Message-ID: <20010306194754.A2318@c187104187.telekabel.chello.nl> References: <15013.10075.22410.630598@nomad.yogotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from eischen@vigrid.com on Tue, Mar 06, 2001 at 01:22:02PM -0500 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Daniel. Do the other BSD variants (NetBSD, BSD/OS, etc.) have a similar library? Would libpthread be an implementation of the pthread `standard' found in Solaris? -- Ernst Daniel Eischen wrote: > On Tue, 6 Mar 2001, Nate Williams 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. Other PTHREAD_SCOPE_SYSTEM > [rfork_thread] threads will continue to run. I haven't decided > yet whether to allow PTHREAD_SCOPE_PROCESS threads (which would > run within the main process, and when one of them blocks the > main process blocks), or to silently treat process scope > threads as system scope threads. > > > > Unfortunately I don't have the time to help the Java porting > > > effort, but I would like to hear about any problems the porters > > > are having with our current libc and any expected problems from > > > a libpthread that will act very similar to linuxthreads. > > > > Will do... > > Thanks. > > -- > Dan Eischen > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message