Age | Commit message (Collapse) | Author |
|
For non-blocking writes, avoid writing more than the user requested.
|
|
|
|
|
|
`pipe_select_read' --> `pipe_select_readable'.
`pipe_select_write' --> `pipe_select_writable'.
|
|
(pipe_recv): Wakeup blocked writers.
(pipe_kick): Function deleted.
(pipe_create): Make connection-oriented pipes start out broken.
(_pipe_first_reader): New function.
(_pipe_first_writer): Don't check whether PIPE is connection- oriented before
clearing PIPE_BROKEN, as otherwise it will never be set.
(pipe_pair_select_read_write): New function.
(pipe_multiple_lock): New variable.
|
|
|
|
|
|
|
|
(_pipe_first_writer): New function.
(_pipe_no_writers, _pipe_no_writers): New function.
(pipe_break): Function deleted.
|
|
control packet if there is no data packet, since pipe_write always writes a
data packet.
|
|
if there is no corresponding data packet.
(pipe_send): Change the test to determine whether we should write a control
packet, so that we only do so if we need to. Also, don't record the source
address in control packets, as it's recorded in the following data packet
anyway, and this prevents it from being dealloc'd twice.
|
|
|