public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
* host, proc, and task are comparable
@ 2008-02-08 17:24 Andrew Cagney
  0 siblings, 0 replies; only message in thread
From: Andrew Cagney @ 2008-02-08 17:24 UTC (permalink / raw)
  To: frysk

I've given them a natural ordering of:
  Host.getName():Proc.getPid():Task.getTid()
so that a hosts' processes group together, and a processes's tasks also 
group together vis:
   host  pid   tid
    h1    1     10
    h1    2      5
    h2    1      3
Of course this can be changed with a custom comparable class.

Andrew

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-08 17:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-08 17:24 host, proc, and task are comparable Andrew Cagney

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).