Re: Performance ideas (resend) ...
- From: Michael Meeks <michael meeks novell com>
- To: Dan Winship <danw gnome org>
- Cc: performance-list <performance-list gnome org>
- Subject: Re: Performance ideas (resend) ...
- Date: Thu, 05 Mar 2009 15:33:09 +0000
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]