Re: process wakeups

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

 



On Tue, 15 Jul 2008 07:39:41 -0700
Ulrich Drepper <drepper@xxxxxxxxxx> wrote:

> > Applications that do this should do it at 
> > relatively low frequency, and where possible (ie, almost always)
> > use g_timeout_add_seconds or equivalent functionality.
> 
> I assume this refers to the same thing Arjan tried to do: group
> wakeups of multiple waiters together.  He can probably recall the
> details more easily than I can.


g_timeout_add_seconds() is what I did ;-)

it's not ideal (it doesn't allow for a range, and it only works for
glib based apps).. but it's the best we have for userspace so far.
we really ought to do a range based timeout (or a precision specifier)


-- 
If you want to reach me at my work email, use arjan@xxxxxxxxxxxxxxx
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux