Re: process wakeups

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

 



On Tue, 2008-07-15 at 15:28 +0100, Matthew Garrett wrote:
> On Tue, Jul 15, 2008 at 01:30:50PM +0200, Harald Hoyer wrote:
> 
> > g_timeout_add_seconds does not "really" sync globally.
> 
> Yeah, it's non-ideal. Anything better is going to need at least glibc 
> (and ideally kernel) support.

If it needs to be done per sleep event. On the other hand, if you can
set a per-thread flag or tunable which says 'you can always delay my
wake by up to N milliseconds', then you don't need special magic in
poll/select/nanosleep/etc for that. And it would make it easier to
modify userspace to use it too. In fact, you could even use it with
binary-only unmodified userspace, by executing a program with the flag
already set.

-- 
dwmw2

-- 
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