Date: Fri, 31 May 2002 07:27:43 -0700 From: Virgil Champlin <champlin@stupidog.org> To: Ari Suutari <ari.suutari@syncrontech.com> Cc: Greg Lewis <glewis@eyesbeyond.com>, freebsd-java@FreeBSD.ORG Subject: Re: JDK 1.3.1, FreeBSD 4.5, JNI and select() Message-ID: <7512757.1022830063@[10.0.1.11]> In-Reply-To: <200205291053.32039.ari.suutari@syncrontech.com> References: <200205291053.32039.ari.suutari@syncrontech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Also, using select() allows a trivial port to Mac OS X. Well that and using a USB-to-serial frob that presents a POSIX terminal API. Keyspan works. -virgil --Ari Suutari said: > Hi, > > On Tuesday 28 May 2002 17:43, Greg Lewis wrote: >> On Mon, May 27, 2002 at 09:26:38AM +0300, Ari Suutari wrote: >> > On Sunday 26 May 2002 18:58, Greg Lewis wrote: >> > Java Comm API used select in jdk 1.1.8 days, but I have >> > changed it to use poll because of similar problems. If I remember >> > correctly, there are wrappers in green_threads package for >> > various syscalls. There is a wrapper for "poll", but there is >> > no wrapper for "select" which breaks threading when it >> > is called by JNI code. >> >> You should find that this isn't a problem for 1.3.1 (it was for 1.2.2). >> That is, you should be able to use select() without any problems. > > Great! I'll test this when I update CommApi package > next time. > > Ari S. 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?7512757.1022830063>