aboutsummaryrefslogtreecommitdiff
path: root/libpipe/pipe.h
Commit message (Collapse)AuthorAgeFilesLines
* Mon Oct 21 21:58:03 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1996-10-241-15/+20
| | | | | | | * pipe.h: Add extern inline protection. * pq.h: Likewise. * pipe-funcs.c, pq-funcs.c: New files. * Makefile (SRCS): Add pipe-funcs.c and pq-funcs.c.
* (EWOULDBLOCK): Define to work around new libc bug.Michael I. Bushnell1996-07-161-1/+3
|
* (pipe_wait): Renamed to `pipe_wait_readable'.Miles Bader1995-08-311-14/+71
| | | | | | | | | | | (pipe_select): Renamed to `pipe_select_readable'. (pipe_writable, pipe_wait_writable, pipe_select_writable): New functions. (pipe_acquire_reader): Call _pipe_first_reader if necessary. (_pipe_first_reader): New declaration. (struct pipe): New fields: `write_limit', `write_atomic', `pending_writes', `pending_write_selects'. (struct pipe): `pending_selects' changed to `pending_read_selects'. (pipe_pair_select): New declaration.
* (pipe_select): New function.Miles Bader1995-08-291-1/+14
|
* (struct pipe): Remove interrupt_seq_num field.Miles Bader1995-08-291-12/+1
| | | | | (pipe_wait): Use hurd_condition_wait to detect interrupts instead of previous ad-hoc mechanism.
* (pipe_acquire_reader, pipe_acquire_writer, pipe_add_reader, pipe_add_writer):Miles Bader1995-08-291-6/+6
| | | | `aquire' -> `acquire'.
* (struct pipe): Keep separate ref counts for readers and writers.Miles Bader1995-08-151-13/+74
| | | | | | | | | | | (pipe_aquire_reader, pipe_aquire_writer): New functions. (pipe_release_reader, pipe_release_writer): New functions. (pipe_add_reader, pipe_add_writer): New functions. (pipe_remove_reader, pipe_remove_writer): New functions. (_pipe_first_writer): New function decl. (_pipe_no_writers, _pipe_no_writers): New function decl. (pipe_aquire, pipe_release): Function deleted. (pipe_break): Function decl deleted.
* (stream_pipe_class, dgram_pipe_class, seqpack_pipe_class):Miles Bader1995-07-311-3/+3
| | | | | Make these declarations extern so they don't fuck up initialization. (seqpacket_pipe_class): Renamed to `seqpack_pipe_class'.
* Initial revisionMiles Bader1995-07-261-0/+254