Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Pipe() functionality more reliable #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rmorehead
Copy link

  1. Enhance eventloop-integration to have BusDispatcher monitor
    incoming Pipe() FDs so incoming Pipe() data can be quickly handled.

  2. Fix reading and writing to pipe to handle partial reads, partial
    writes, and EINTR.

  3. Fix Pipe::signal() to follow protocol of read()/write() by writing
    data starting with size (number of bytes). Implemented by using
    Pipe::write() rather than a raw ::write().

1. Enhance eventloop-integration to have BusDispatcher monitor
   incoming Pipe() FDs so incoming Pipe() data can be quickly handled.

2. Fix reading and writing to pipe to handle partial reads, partial
   writes, and EINTR.

3. Fix Pipe::signal() to follow protocol of read()/write() by writing
   data starting with size (number of bytes). Implemented by using
   Pipe::write() rather than a raw ::write().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant