From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12295 invoked by alias); 7 Feb 2008 15:52:48 -0000 Received: (qmail 12283 invoked by uid 22791); 7 Feb 2008 15:52:48 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 07 Feb 2008 15:52:30 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m17FqS7G024393 for ; Thu, 7 Feb 2008 10:52:28 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m17FqSDm007868 for ; Thu, 7 Feb 2008 10:52:28 -0500 Received: from localhost.localdomain (sebastian-int.corp.redhat.com [172.16.52.221]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m17FqSL2005345 for ; Thu, 7 Feb 2008 10:52:28 -0500 Message-ID: <47AB291E.4010004@redhat.com> Date: Thu, 07 Feb 2008 15:52:00 -0000 From: Andrew Cagney User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: frysk Subject: "int pid" replaced with ProcessIdentifier Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2008-q1/txt/msg00057.txt.bz2 FYI, I've pushed a low-level change so that frysk.sys's process code uses a ProcessIdentifier object instead of "int pid"s; there is one ProcessIdentifier per "pid". The change is slowly working its way through frysk.proc.live; it won't be taken further. The motivation is simple, while "int pid" looks small and efficient; it turns out that the code using it really needed an object (leaking something like <>) to either log or hash the pid. With a proper object both of these cases can be greatly simplified. Andrew