Re: Problem with GSource and polling



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


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