Re: g_io_channel_win32_poll() Problem on Windows

On 8/2/2017 7:37 PM, LRN wrote:
On 7/27/2017 1:51 PM, mualloc . wrote:



// g_io_channel_win32_make _pollfd() documentation says call this





I recently committed a W32 g_poll() test to glib git master. You can find it
If you look closely, you'll realize that g_poll() does almost nothing - it's
just a glorified WaitForMultipleObjectsEx(). All the magic happens in GSource
implementation, and that's what you must use, unless you're willing to do what
i did in that test and do all the pre- and post-processing yourself. Note that
i omitted a lot of corner cases in the test though.


O< ascii ribbon - stop html email! -

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