stale IORs in lock directory ...
- From: Michael Meeks <michael ximian com>
- To: Havoc Pennington <hp redhat com>
- Cc: <gconf-list gnome org>
- Subject: stale IORs in lock directory ...
- Date: Fri, 10 Aug 2001 15:47:11 -0400 (EDT)
Hi there,
Just looking at gconf HEAD, I have a couple of queries:
firsty we do:
daemon_lock = gconf_get_lock_or_current_holder (lock_dir,
&other_server,
&err);
Then if other_server != CORBA_OBJECT_NIL we register it with oaf,
and then quit. Problem is - it's highly likely that other_server is a
valid stringified IOR, but actualy the object doesn't exist.
It seems to me for efficiency reasons we need to do:
if (CORBA_Object_non_existant (other_server)) ...
continue.
However - then we need to shove our IOR into the lock_dir, in
which case it seems to me ( and if other_server == CORBA_OBJECT_NIL -
although this will perhaps never happen ), that we need to take the lock
and continue starting up - or we'll never activate another daemon.
Then again, perhaps I got confused;
Thoughts ?
Michael.
--
mmeeks gnu org <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]