aboutsummaryrefslogtreecommitdiff
path: root/trans/fifo.c
Commit message (Collapse)AuthorAgeFilesLines
* (trivfs_goaway): Handle errors from ports_inhibit_bucket_rpcs.Miles Bader1996-01-271-5/+9
|
* (trivfs_S_io_select):Miles Bader1996-01-191-3/+40
| | | | | Request interruption if the reply-port dies. Don't block if there's an error immediately available.
* (main): Add flags argument to trivfs_startup call.Miles Bader1995-11-061-1/+1
|
* (trivfs_S_file_set_size): Renamed from trivfs_S_file_truncate;Miles Bader1995-09-181-5/+3
| | | | Return EINVAL if the new size isn't 0.
* (open_hook): Block for read only when there's really someone reading already,Miles Bader1995-09-111-23/+52
| | | | | | | | | or until there's a writer. (open_hook): Use the WAIT macro to block. (wait_for_writer): New variable. (main): Set WAIT_FOR_WRITER with WAIT_FOR_READER. (trivfs_modify_stat): Only return pipe info if there's a pipe. (close_hook): Don't die if there's no pipe.
* (trivfs_S_io_select): Use pipe_pair_select.Miles Bader1995-08-311-13/+15
| | | | (trivfs_S_io_write): Pass in the NOBLOCK parameter to pipe_write.
* (trivfs_goaway): Implement correctly.Miles Bader1995-08-301-11/+31
| | | | | | (main): When we time out, don't exit unless there are no opens. (main): Add timeouts. (port_bucket): Now a local variable in main.
* (open_hook): Use hurd_condition_wait to detect interrupts.Miles Bader1995-08-291-14/+10
|
* (trivfs_goaway, trivfs_modify_stat): Update arguments.Miles Bader1995-08-241-6/+10
| | | | | (trivfs_modify_stat): Give the size of the fifo now that we've got a handle on it.
* (open_hook): Use condition_broadcast instead of condition_signal onMiles Bader1995-08-211-2/+2
| | | | active_fifo_changed, as all waiters need be notified of changes.
* Initial revisionMiles Bader1995-08-151-0/+521