Il 22/02/2013 11:07, Laurent Desnogues ha scritto: >> The g_poll(3) interface is a portable version of the poll(2) system call. >> The >> > difference to select(2) is that fine-grained events (G_IO_IN, G_IO_OUT, >> > G_IO_HUP, G_IO_ERR, G_IO_PRI) can be monitored instead of just >> > read/write/exception. Also, there is no limit to the file descriptor >> > numbers >> > that may be used, allowing applications to scale to many file descriptors. >> > See >> > the documentation for details: >> > >> > http://developer.gnome.org/glib/2.28/glib-The-Main-Event-Loop.html#g-poll > g_poll isn't available in older glib versions used by CentOS (2.12 > on CentOS 5.6).
Hmm, right. But we can just use poll. We require a newer glib that has g_poll on Windows, but we know that on POSIX systems g_poll is really poll. Paolo
