[Ace-users] howto return immediately from poll ?
hongxing777 at gmail.com
hongxing777 at gmail.com
Thu Jun 14 00:11:51 CDT 2007
Version: 5.5.8
host: windows xp sp2, suse linux enterprise server 9 sp2
compiler: vs.net 2003, gcc 3.3.3
in my app, I call poll to wait on a file descriptor (in fact, it is an
inotify handler). to achieve, I wait infinitely. My question is :
How to notify the poll function to return ? I close the file
descriptor from another thread, but it still
blocks. Can I poll on an event handler, so when needed, I can signal
the event (so the poll function returns).
thanks in advance
More information about the Ace-users
mailing list