Front page | perl.perl5.porters |
Postings from May 2002
From: Nicholas Clark
May 6, 2002 16:28
Message ID: 20020507002806.Z74344@plum.flirble.org
On Tue, May 07, 2002 at 01:34:21AM +0300, Jarkko Hietaniemi wrote:
> On Mon, May 06, 2002 at 11:21:47PM +0100, Nicholas Clark wrote:
> > On Mon, May 06, 2002 at 05:50:38PM +0300, Jarkko Hietaniemi wrote:
> > > - Storable finishing touches [Nicholas]
> > As Storable already passes a context object around to make itself thread
> > safe, and the leaking problem is only that the malloc()ed buffers:
> ...and the root context.
> I thought that without ithreads (well, multiplicity) the root context
> is a static buffer.
With threads it's stuffed into a scalar, which suggests that one cleanup
method is make a ref and bless it into a class with a DESTROY method.
But not tonight, as it is now bedtime.
[And I will be dreaming of waking to finding it all solved by Dave Mitchell
:-) Well, I can dream...]