pcp
[Top] [All Lists]

Re: PMNS scope globality

To: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Subject: Re: PMNS scope globality
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri, 06 Apr 2012 06:51:26 +1000
Cc: pcp developers <pcp@xxxxxxxxxxx>
In-reply-to: <20120405204756.GD31675@xxxxxxxxxx>
References: <20120404202551.GA29020@xxxxxxxxxx> <1333584398.2439.13.camel@xxxxxxxxxxxxxxxxxxxxxxx> <y0mobr69lr2.fsf@xxxxxxxx> <1333658735.1721.10.camel@xxxxxxxxxxxxxxxx> <20120405204756.GD31675@xxxxxxxxxx>
On Thu, 2012-04-05 at 16:47 -0400, Frank Ch. Eigler wrote:
> Hi -
> 
> On Fri, Apr 06, 2012 at 06:45:35AM +1000, Ken McDonell wrote:
> > [...]
> > Finally, a simple answer ... the current context defines the PMNS to be
> > used ... 8^)>
> 
> That is, pmUseContext().  Sorry for missing it earlier.

Yep, pmNewContext() and pmDupContext() set the current context,
pmUseContext() allows the caller to change the current context.  If
you're not sure, pmWhichContext() returns the current context.


<Prev in Thread] Current Thread [Next in Thread>