#2654 HIGH Trial-3: Sugar Shell is offering D-Bus services in the UI loop
Zarro Boogs per Child
bugtracker at laptop.org
Tue Aug 7 04:44:03 EDT 2007
#2654: Sugar Shell is offering D-Bus services in the UI loop
---------------------+------------------------------------------------------
Reporter: tomeu | Owner: tomeu
Type: defect | Status: new
Priority: high | Milestone: Trial-3
Component: sugar | Version:
Resolution: | Keywords:
Verified: 0 |
---------------------+------------------------------------------------------
Comment (by tomeu):
Replying to [comment:3 AlbertCahalan]:
> If either the UI or the D-Bus stuff is taking a significant amount of
time (or even blocking), then that is the root of the problem. Adding
threads may hide the problem from the user, but CPU usage (and thus power
usage) will only get worse.
Well, all services offered today by the Shell are fast enough. But this
could change some day. Any service that uses the network is potentially
very slow and shouldn't be called synchronously by an UI thread or by
another D-Bus service.
But anyway, the real problem here are dead locks. Having the same
process/thread/eventloop doing the UI and at the same time providing
generic services to activities and other services is going to cause dead
locks.
--
Ticket URL: <https://dev.laptop.org/ticket/2654#comment:4>
One Laptop Per Child <http://laptop.org/>
More information about the Bugs
mailing list