From 03e650aa9e9a95575fccd51ec9f669abae52fe7e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 30 Dec 2008 19:20:36 +0100 Subject: main_notify: make the read side of the pipe blocking Currently, both sides of the pipe are blocking, although we do not need blocking read(). Convert it back to blocking. Eliminate the select() from wait_main_task(). --- src/utils.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/utils.h') diff --git a/src/utils.h b/src/utils.h index 2142df7f4..4130eb74e 100644 --- a/src/utils.h +++ b/src/utils.h @@ -95,8 +95,6 @@ char *parsePath(char *path); int set_nonblocking(int fd); -void init_async_pipe(int file_des[2]); - int stringFoundInStringArray(const char *const*array, const char *suffix); #endif -- cgit v1.2.3