From owner-freebsd-java Wed Mar 7 19: 2:43 2001 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61]) by hub.freebsd.org (Postfix) with ESMTP id 50F2E37B719 for ; Wed, 7 Mar 2001 19:02:41 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.22 #1 (Debian)) id 14aqhI-0002kS-00; Wed, 07 Mar 2001 19:02:36 -0800 Date: Wed, 7 Mar 2001 19:02:36 -0800 To: Daniel Eischen Cc: Bill Huey , Greg Lewis , java@FreeBSD.ORG Subject: Re: Java and libc/libpthread Message-ID: <20010307190236.A10517@gnuppy> References: <20010307161130.A4910@gnuppy> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: ; from eischen@vigrid.com on Wed, Mar 07, 2001 at 07:22:35PM -0500 From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org It looks like my previous attempt a replying to this got botched. On Wed, Mar 07, 2001 at 07:22:35PM -0500, Daniel Eischen wrote: > FWIW, I don't see our libpthread from deviating too much from > the POSIX spec. I would like it to be as compliant as possible, > including the way signals are handled in a multi-threaded > environment. I know that Linux remaps SIGCHLD to SIGUSR[1 or 2?], > and I hope that would not be necessary for FreeBSD. Signals in the JVM are largely a technical side noted that is ignored so it's not a critical part of the JVM and can be largely ignored. Threading on the other hand is much more important. Condition variables, mutexes, etc.. are all used extensively in the JVM and they must work exactly as expected. > What is BSDIs threading model? You mentioned SIGALRM-based threads > earlier and to me that meant it was similar to our current libc_r > (which uses SIGPROF now). > > Dan Eischen The technical issues are exactly the same as any userspace threading library (shoving crap into poll(), etc...). I just looked our library last night and I'm setting up my old FreeBSD box (cvsup, etc..) so that I can look at the pthread stuff on your end and report back. ;-) bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message