gdk_input_add and cygwin



Hello.

I have a problem with the function
  gdk_input_add(fd, GDK_INPUT_WRITE,
                GTK_SIGNAL_FUNC(my_func), my_data);
on cygwin.
fd is a connected socket descriptor.
The problem is that my_func is never called.
* If i replace gdk_input_add with select and a manual
  call of my_func, it works fine.
* gdk_input_add() with flag GDK_INPUT_READ works fine.
* On Linux/Unix, the above works fine.

Anyone has a clue what is going on here?

Markus.



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