monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] oprofile data for mtn 0.37.


From: Zack Weinberg
Subject: Re: [Monotone-devel] oprofile data for mtn 0.37.
Date: Thu, 13 Mar 2008 13:04:52 -0400

On Thu, Mar 13, 2008 at 12:53 PM, Jack Lloyd <address@hidden> wrote:
>  > Additional question: how does that interact with things like
>  > PKCS8::load_key() that take
>  > a pipe, with a message pending, as an argument?  (Hm, arguably I
>  > oughta be using DataSource_Stream for those...)
>
>  I feel like I am missing the point of your question. The message in
>  the Pipe containing the key will be read out and the space
>  reclaimed...

How does it know which message contains the key?  If control flow goes

Pipe p;

...

p.process_msg(keydata);
PKCS8::load_key(..., p, ...);

... much later ...

p.process_msg(newkeydata);
PKCS8::load_key(..., p, ...);

will the second operation take newkeydata, keydata, or the empty
string as its input?

zw




reply via email to

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