Re: oaf time stamp problem



"Troy D . Gillette" <tgillette turbolinux com> writes:

> I'm not sure if this is the right place to post oaf problems, but...
> 
> impl_OAF_ObjectDirectory_get_active_servers inside oafd/od-corba.c uses
> time stamps to decide whether to check active servers (specifically,
> only_if_newer and servant->time_active_changed). However, since these are
> only set to the nearest second, they are usually equal. At least in my test
> case with only one server running. This causes any "_active" queries to fail
> randomly. Changing the test from < to <= seems to fix the problem, but I'm
> not sure how safe that is.

Are you pooling oaf to see if the server is activated ?


Mathieu

-- 
Mathieu Lacage <mathieu eazel com>




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