Re: investigation into replacing ref. counts with leases



On 19 Jul 2001, Martin Baulig wrote:

> Havoc Pennington <hp redhat com> writes:
> 
> > Darin Adler <darin bentspoon com> writes: 
> > > The problem I ran into is that extending the leases from client processes seems to
> > > require some kind of regular timer. The glib timeout is not satisfactory because
> > > it's tied to the event loop, and I'm not sure what I should use for
> > > the timer.
> > 
> > Keeping in mind my earlier statement about in-process
> > vs. out-of-process - the timer in an event loop is probably fine for
> > renewing out-of-process leases, but I can't imagine any timer that
> > would be remotely a good idea for in-process objects.
> 
> Also keep debuggers in mind; you clearly don't want all your components
> to timeout-destroy themselves if you stop the container in a debugger.
> 

Is there a non-intrusive way of debugging anything with leases? How about
debugging something caused by lease for x going away before lease for y?
We probably just need an intrusive finegrain control over leases for
debugging.

> -- 
> Martin Baulig
> martin gnome org (private)
> baulig suse de (work)
> 

	Sander

One day a tortoise will learn to fly
	-- Terry Pratchett, 'Small Gods'





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