From: Andrew Cagney <cagney@redhat.com>
To: frysk <frysk@sourceware.org>
Subject: "int pid" replaced with ProcessIdentifier
Date: Thu, 07 Feb 2008 15:52:00 -0000 [thread overview]
Message-ID: <47AB291E.4010004@redhat.com> (raw)
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 <<new Integer(pid)>>) to either log or hash the pid.
With a proper object both of these cases can be greatly simplified.
Andrew
next reply other threads:[~2008-02-07 15:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-07 15:52 Andrew Cagney [this message]
2008-02-14 11:00 ` Mark Wielaard
2008-02-14 14:25 ` Andrew Cagney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47AB291E.4010004@redhat.com \
--to=cagney@redhat.com \
--cc=frysk@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).