Null notifier to support fishd synchronization, so we can select the

synchronization mechanism at runtime
This commit is contained in:
ridiculousfish
2014-05-14 15:03:44 +08:00
parent 30cfb3e795
commit a73b903df9
5 changed files with 41 additions and 15 deletions

View File

@@ -124,7 +124,7 @@ static wint_t readb()
fd_max = maxi(fd_max, notifier_fd);
}
/* Get the suggested delay (possibly none) */
/* Get its suggested delay (possibly none) */
struct timeval tv = {};
const unsigned long usecs_delay = notifier.usec_delay_between_polls();
if (usecs_delay > 0)