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().
This commit is contained in:
Max Kellermann
2008-12-30 19:20:36 +01:00
parent 10b5966bf6
commit 03e650aa9e
3 changed files with 6 additions and 27 deletions

View File

@@ -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