Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 May 2000 14:56:07 -0600 (MDT)
From:      Nate Williams <nate@yogotech.com>
To:        Christophe Colle <christophe.colle@telenet.be>
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: java_X version "1.1.8" stuck on BufferedReader.readLine
Message-ID:  <200005302056.OAA23882@nomad.yogotech.com>
In-Reply-To: <Pine.SO4.4.05.10005302157330.5672-100000@zeus>
References:  <Pine.SO4.4.05.10005302157330.5672-100000@zeus>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005302056.OAA23882>