Add Linux timerfd_create() backend for g_date_time_source_new()
authorColin Walters <walters@verbum.org>
Wed, 17 Aug 2011 17:09:27 +0000 (13:09 -0400)
committerColin Walters <walters@verbum.org>
Mon, 29 Aug 2011 14:24:37 +0000 (10:24 -0400)
commit5763c631473539746646697e6a775f6eacaa08e2
treeba034a9f6a9009922b6bf7f486372709c7afe418
parent1feb752996b404965a2f58b29a569a273d4374fa
Add Linux timerfd_create() backend for g_date_time_source_new()

This makes the source efficient on Linux.

Tested on Fedora 15 x86_64 + updates, kernel-2.6.40-4.fc15.x86_64
Also tested fallback code for unsupported flag TFD_TIMER_CANCEL_ON_SET
on kernel 2.6.38.

https://bugzilla.gnome.org/show_bug.cgi?id=655129
configure.ac
glib/gdatetime.c