From owner-freebsd-java Tue May 30 13:56:17 2000 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 2BF3137B512 for ; Tue, 30 May 2000 13:56:13 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id OAA10087; Tue, 30 May 2000 14:56:08 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id OAA23882; Tue, 30 May 2000 14:56:07 -0600 (MDT) (envelope-from nate) Date: Tue, 30 May 2000 14:56:07 -0600 (MDT) Message-Id: <200005302056.OAA23882@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Christophe Colle Cc: freebsd-java@FreeBSD.ORG Subject: Re: java_X version "1.1.8" stuck on BufferedReader.readLine In-Reply-To: References: X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I have a problem with jdk 1.1.8 on FreeBSD.. Apparently when doing a > readLine on a BufferedReader-object all my threads hang :-( Known problem that there is no work-around until we get native-kernel thread support in FreeBSD/JDK working. readLine calls read(2), which is a system call that blocks all other userland threads since only one 'process' can be in the kernel at the same time. I don't expect to see a solution to this problem for a while, however, the Linux JDK1.2.2 *may* work better for you, since we emulate linux kernel threads pretty well in later versions of FreeBSD. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message