simplefilewatcher icon indicating copy to clipboard operation
simplefilewatcher copied to clipboard

Busy loop

Open GoogleCodeExporter opened this issue 10 years ago • 0 comments

In the current code, the select call has a timeout of 0, which makes the
select return immediately.  It might be better to use the blocking form of
select (use NULL instead of giving it a pointer to a timeout of zero
seconds) or, even better, allow the user to give a pointer to a timeval to
use as the timeout for the select call.

Original issue reported on code.google.com by [email protected] on 12 Feb 2010 at 7:38

GoogleCodeExporter avatar Mar 13 '15 17:03 GoogleCodeExporter