Re: Threads, sockets and windows



Hello!

But on windows there is no poll() function. Of course I can use
g_async_queue, but doing so I can't poll queue and network socket
simultaneously.

Under Window you can use select(). For myself I've written for Win32 a poll() function that internally use select() (so the code remains clean and portable).


Regards,
Frank



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