Age | Commit message (Collapse) | Author |
|
Return EINVAL if the new size isn't 0.
|
|
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_write): Pass in the NOBLOCK parameter to pipe_write.
|
|
(main): When we time out, don't exit unless there are no opens.
(main): Add timeouts.
(port_bucket): Now a local variable in main.
|
|
|
|
(trivfs_modify_stat): Give the size of the fifo now that we've got a handle
on it.
|
|
active_fifo_changed, as all waiters need be notified of changes.
|
|
|