Re: Performance ideas (resend) ...



Hi Dan,

On Thu, 2009-03-05 at 09:50 -0500, Dan Winship wrote:
> Seems like to prevent races (and the "called before main loop started"
> case you mentioned) it would be better to do

	Sure; I wonder why I thought is_owner was the thing, and what that was
used for; AFAIR there was some tangled reason from the depths of the
ORB.

>     if (g_main_context_acquire (NULL)) {
>         do_gconf_foo_init (NULL);
>         g_main_context_release (NULL);
>     } else {
>         ...

	So - that should work rather better, of course.

	Thanks,

		Michael.

-- 
 michael meeks novell com  <><, Pseudo Engineer, itinerant idiot




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