Re: Problem with GSource and polling



Hi Jannis,

        I'm sorry but what `kernel module' you are talkin' about?, is it the application's module?

        Ardhan,


--- jannis xfce org wrote:

From: Jannis Pohlmann <jannis xfce org>
To: gtk-app-devel-list gnome org
Subject: Re: Problem with GSource and polling
Date: Thu, 18 Nov 2010 03:53:20 +0100

Hi again,

On Thu, 18 Nov 2010 02:26:20 +0100
Jannis Pohlmann <jannis xfce org> wrote:

Hi folks,

I have a question about using GSource in combinaton with GPollFD.

Nevermind, I forgot to add poll_wait() in the poll() handler of the
kernel module that created the file descriptor. Now with that added,
the GLib main loop wakes up on a poll event even if I am not moving the
mouse cursor around like crazy in my application window. ;)

  - Jannis


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



_____________________________________________________________
Listen to KNAC, Hit the Home page and Tune In Live! ---> http://www.knac.com



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