Re: investigation into replacing ref. counts with leases
- From: Martin Baulig <martin home-of-linux org>
- To: Havoc Pennington <hp redhat com>
- Cc: Darin Adler <darin bentspoon com>, gnome-components-list gnome org, Michael Meeks <michael ximian com>
- Subject: Re: investigation into replacing ref. counts with leases
- Date: 19 Jul 2001 11:07:56 +0200
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.
--
Martin Baulig
martin gnome org (private)
baulig suse de (work)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]