From owner-freebsd-java Fri May 24 12:59: 9 2002 Delivered-To: freebsd-java@freebsd.org Received: from recourse.com (mail.recourse.com [206.171.10.25]) by hub.freebsd.org (Postfix) with ESMTP id 5802E37B40A for ; Fri, 24 May 2002 12:59:07 -0700 (PDT) Received: from recourse.com (localhost [127.0.0.1]) by recourse.com (8.12.1/8.12.1) with ESMTP id g4OJwuNX001156 for ; Fri, 24 May 2002 12:58:56 -0700 (PDT) Received: from localhost (rross@localhost) by recourse.com (8.12.1/8.12.1/Submit) with ESMTP id g4OJwubJ001153 for ; Fri, 24 May 2002 12:58:56 -0700 (PDT) Date: Fri, 24 May 2002 12:58:56 -0700 (PDT) From: "Robert F. Ross" X-Sender: rross@recourse.com To: freebsd-java@freebsd.org Subject: JDK 1.3.1, FreeBSD 4.5, JNI and select() Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org As far as I can tell, the JDK1.3.1 as compiled from /usr/ports in FreeBSD4.5 is compiled with -pthread. An ldd on the final java binary shows that it's using libc.so.4, not libc_r.so.4. I've been experiencing problems with select() calls in JNI routines always waiting for the full timeout when checking readfds (write seems happy) instead of returning as soon as the data is available. poll() appears to have the same behavior. Has anyone seen this issue and know how to fix it? Robert Ross Senior Software Engineer Recourse Technologies, Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message