Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

poll() can't guarantee that the next read will succeed anyway, because something else might drain the socket or fifo (e.g. another thread). Programmers simply use O_NONBLOCK anyway and use poll() is wait until the process should try again.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: