From owner-freebsd-java Wed Aug 23 7: 4:31 2000 Delivered-To: freebsd-java@freebsd.org Received: from smtp.cistron.nl (soong.cistron.net [195.64.68.35]) by hub.freebsd.org (Postfix) with ESMTP id 41DB737B443 for ; Wed, 23 Aug 2000 07:04:28 -0700 (PDT) Received: from abc.aaa-mainstreet.nl ([195.64.77.2]) by smtp.cistron.nl with esmtp (Exim 3.13 #1 (Debian)) id 13Rb8i-0003ur-00; Wed, 23 Aug 2000 16:04:24 +0200 Date: Wed, 23 Aug 2000 15:59:47 +0200 (CEST) From: Gary Howland To: Ari Suutari Cc: freebsd-java@freebsd.org, jdricot@ulb.ac.be Subject: Re: JDK 2 Patchset 10 + FreeBSD_CommAPI In-Reply-To: <001101c00cfa$09b50730$0e05a8c0@intranet.syncrontech.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I found some bugs, and send thme the patches, but they paid no attention! I can post the patches tomorrow if you like It was nothing to do with threads, more to do with using the wrong flags with termio Gary -- Friends help you move. Real friends help you move bodies. On Wed, 23 Aug 2000, Ari Suutari wrote: > Hi, > > Has anyone been trying to use FreeBSD commapi > from http://student.ulb.ac.be/~jdricot/commapi/ with > current JDK2,patchset 10 ? > > I have been using it with old JDK 1.1.8 to access > a weather station (from www.ibutton.com) and it works > OK. However, when using jdk2, the program > hangs during initialization. > > After some debugging, it seems that basic primitives > (open, read, write) work as usual, but the weather station > java package seems to use various notify -services available > in java comm API. These are implemented as a select loop in > native code, which also seems to work but it looks like > some other threads are stuck or something. > > (In case nobody has any ideas to solve this, I'll try > to dig deeper myself) > > Ari S. > -- > Ari Suutari > Lemi, Finland > > > > > 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