[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Obtain number of ports in proc and libps

From: olafBuddenhagen
Subject: Re: [PATCH] Obtain number of ports in proc and libps
Date: Fri, 10 Sep 2010 02:31:25 +0200
User-agent: Mutt/1.5.20 (2009-06-14)


On Thu, Sep 09, 2010 at 02:03:28AM +0200, Samuel Thibault wrote:
> Samuel Thibault, le Wed 08 Sep 2010 12:01:12 +0200, a écrit :

> > [...] but it seems odd to me to add an interface just for this small
> > part of information which you can fetch yourself for your own
> > processes.
> Or put another way, I'm really not at ease adding an RPC just for this
> kind of information, because later on we'll probably want some other
> information, and then another, etc.

I'm not sure why you consider this a problem?...

> Ideally getprocinfo should be easily extendable.

Well, we already have a mechanism for making communication protocols in
the Hurd extensible: it's called the RPC mechanism... :-) Let's not try
to invent another generic mechanism on top of RPCs.

*If* ten year down the road we indeed end up with half a dozen
miscallaneous info queries, we can *still* replace them by a new RPC
covering all of it...

Also note that there is precedenct for extending the proc info query by
adding new RPCs.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]