Gnome 1.4 oaf fixage suggestion.
- From: Michael Meeks <michael ximian com>
- To: Miguel de Icaza <miguel ximian com>
- Cc: Darin Adler <darin eazel com>, Soeren Sandmann <sandmann daimi au dk>, Brian Cameron <Brian Cameron Sun COM>, Gnome Components <gnome-components-list gnome org>, Maciej Stachowiak <mjs eazel com>
- Subject: Gnome 1.4 oaf fixage suggestion.
- Date: Sat, 7 Apr 2001 05:32:43 -0400 (EDT)
Hi all,
The simple solution I was anticipating to the 'hundreds of
oafd' processes problem is to add relatively simple 'ping'
functionality into oafd - ie. with no interface changes.
oafd - instruments its methods to postpone the timeout.
On timeout 1,
if (have_registered_objects) {
* churn through registered objects,
* do an async ref/unref pair on the object, 'ping'
* on exception de-register object
* schedule timout 1
} else
* exit;
On timout of async method(s)
* de-register each object
Or similar.
How does that sound ?
Michael.
--
mmeeks gnu org <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]