mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fsnotifier: process inotify events in batches
This commit is contained in:
@@ -223,6 +223,8 @@ static void main_loop() {
|
||||
struct timeval timeout;
|
||||
|
||||
while (true) {
|
||||
usleep(50000);
|
||||
|
||||
FD_ZERO(&rfds);
|
||||
FD_SET(input_fd, &rfds);
|
||||
FD_SET(inotify_fd, &rfds);
|
||||
|
||||
Reference in New Issue
Block a user