From owner-freebsd-hackers Sun Dec 3 13:37:45 2000 From owner-freebsd-hackers@FreeBSD.ORG Sun Dec 3 13:37:43 2000 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from hda.hda.com (host65.hda.com [63.104.68.65]) by hub.freebsd.org (Postfix) with ESMTP id BAE6837B400 for ; Sun, 3 Dec 2000 13:37:41 -0800 (PST) Received: (from dufault@localhost) by hda.hda.com (8.9.3/8.9.3) id QAA62661; Sun, 3 Dec 2000 16:44:40 -0500 (EST) (envelope-from dufault) From: Peter Dufault Message-Id: <200012032144.QAA62661@hda.hda.com> Subject: Re: Arg! Siginfo and pthreads again In-Reply-To: from Daniel Eischen at "Dec 3, 2000 01:18:03 pm" To: Daniel Eischen Date: Sun, 3 Dec 2000 16:44:40 -0500 (EST) Cc: Peter Dufault , hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: dufault@hda.hda.com Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Sun, 3 Dec 2000, Peter Dufault wrote: > > Again I've forgotten that SIGINFO dumps the pthread info and created > > several gigabytes of /tmp files: > > > > > rt% rm /tmp/uthread* > > > /bin/rm: Argument list too long. > > > > I don't consider it bad form to use SIGINFO to see if processes are > > still around without first installing a SIGINFO handler. > > Can't you use `kill -0 pid` if you just want to see if the process > is around? Yes, I can and I should. I guess I forgot. I'll fix my code. Peter -- Peter Dufault (dufault@hda.com) Realtime development, Machine control, HD Associates, Inc. Fail-Safe systems, Agency approval To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message