Re: g_io_channel_win32_poll() Problem on Windows
- Date: Fri, 28 Jul 2017 08:08:12 -0400
- From: Paul Davis <paul@xxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: g_io_channel_win32_poll() Problem on Windows
On Fri, Jul 28, 2017 at 4:37 AM, LRN <lrn1986@xxxxxxxxx> wrote:
After trying this myself (for unrelated reasons), i found that *only*
giochannel GSource does WSAEventSelect() on a socket event (in
g_io_win32_prepare()) to bind it to an event handle, which can then be polled.
If you are not using a main loop (and GSource), then this doesn't happen, and
the events you feed to g_poll() are completely inert.
This is true on all platforms. The "responsiveness" of all GSources depends on a main loop that polls/selects/does-some-platform-equivalent-of-wait-for-something.
_______________________________________________ gtk-devel-list mailing list gtk-devel-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gtk-devel-list