Re: Problem with GSource and polling



Hey,

On Sat, 20 Nov 2010 12:01:47 +0100
Jaroslav ÅmÃd <jardasmid gmail com> wrote:

Perhaps he wrote himself some kind of kernel module which provides
pollable file descriptor ...

Yep, exactly.
 
On Sat, Nov 20, 2010 at 9:57 AM, Ardhan Madras <ajhwb knac com> wrote:
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 _______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list






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