summaryrefslogtreecommitdiff
path: root/libpipe/pipe.c
AgeCommit message (Collapse)Author
1995-09-14(_pipe_no_readers): REALLY wake up writers when the pipe breaks.Miles Bader
1995-09-01(_pipe_no_readers): Wake up write selects too when the pipe breaks.Miles Bader
1995-08-31`pipe_pair_select_read_write' --> `pipe_pair_select'.Miles Bader
`pipe_select_read' --> `pipe_select_readable'. `pipe_select_write' --> `pipe_select_writable'.
1995-08-31(pipe_send): Make writes blockable.Miles Bader
(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.
1995-08-29(pipe_send): Use condition_broadcast, not condition_signal.Miles Bader
1995-08-29(pipe_create): Don't initialize interrupt_seq_num field.Miles Bader
1995-08-29`aquire' -> `acquire'.Miles Bader
1995-08-15(pipe_create): Initialize READERS & WRITERS, not REFS.Miles Bader
(_pipe_first_writer): New function. (_pipe_no_writers, _pipe_no_writers): New function. (pipe_break): Function deleted.
1995-08-01(pipe_recv): Get rid of code to deal with getting the source address from theMiles Bader
control packet if there is no data packet, since pipe_write always writes a data packet.
1995-07-31(pipe_recv): Assert that a control packet should only have a source addressMiles Bader
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.
1995-07-26Initial revisionMiles Bader