diff options
author | Max Kellermann <max@duempel.org> | 2008-12-30 19:20:36 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-12-30 19:20:36 +0100 |
commit | 03e650aa9e9a95575fccd51ec9f669abae52fe7e (patch) | |
tree | 6d1447445c41dc1322d017bb78f1e603d06d0237 /src/utils.h | |
parent | 10b5966bf656bc25261171f6fbf4ea35eff246af (diff) | |
download | mpd-03e650aa9e9a95575fccd51ec9f669abae52fe7e.tar.gz mpd-03e650aa9e9a95575fccd51ec9f669abae52fe7e.tar.xz mpd-03e650aa9e9a95575fccd51ec9f669abae52fe7e.zip |
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().
Diffstat (limited to '')
-rw-r--r-- | src/utils.h | 2 |
1 files changed, 0 insertions, 2 deletions
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 |