From owner-freebsd-java Mon Apr 27 14:21:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA10890 for freebsd-java-outgoing; Mon, 27 Apr 1998 14:21:42 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from relay.hq.tis.com (relay.hq.tis.com [192.94.214.100]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA10880 for ; Mon, 27 Apr 1998 14:21:41 -0700 (PDT) (envelope-from stevek@tis.com) Received: by relay.hq.tis.com; id RAA11969; Mon, 27 Apr 1998 17:18:36 -0400 (EDT) Received: from clipper.hq.tis.com(10.33.1.2) by relay.hq.tis.com via smap (4.0a) id xma011948; Mon, 27 Apr 98 17:18:20 -0400 Received: from mufasa.va.tis.com (mufasa.va.tis.com [192.168.10.18]) by clipper.hq.tis.com (8.7.5/8.7.3) with ESMTP id RAA10218 for ; Mon, 27 Apr 1998 17:15:37 -0400 (EDT) Received: from localhost (stevek@localhost) by mufasa.va.tis.com (8.8.7/8.8.7) with SMTP id RAA06697 for ; Mon, 27 Apr 1998 17:27:58 -0400 (EDT) (envelope-from stevek@mufasa.va.tis.com) Date: Mon, 27 Apr 1998 17:27:58 -0400 (EDT) From: Steve Kiernan To: freebsd-java@FreeBSD.ORG Subject: JNI and signals... 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 Well, I think I have a solution to using signals. I opened a pipe and am having the signal handler write to one end and the thread read from the other. The only problem is that data is never making it to the other end of the pipe. A select call never shows data pending on the read end of the pipe and a blocking read never unblocks. I tried both jdk1.1 and jdk1.1.5, but to no avail. Any ideas here? -- Steve Kiernan stevek@tis.com Trusted Information Systems To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message