mirror of
https://review.haiku-os.org/haiku
synced 2025-02-22 13:38:56 +01:00
writers. * Removed the optimization for piping data between two threads of the same team. This greatly simplifies the code. It seems to me the case is very uncommon; it could be added back later, though. * Basically rewrote reading from and writing to the pipe: - A blockable writer can now write more than what is currently available in the ring buffer. - Writing respects the PIPE_BUF non-interleaving limit, though our headers don't seem to define PIPE_BUF anywhere. - Unblock writers, when the last reader is gone and send those that haven't written anything yet a SIGPIPE. Fixes bug #1476. * Correctly implemented select() support. We were only notifying writers. We manage two separate select sync pools per pipe now: one for the reader end and one for the writer end. * Reading/writing from the root dir does no longer end in KDL. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22378 a95241bf-73f2-0310-859d-f6bbb57e9c96