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

stream.jl: provide flush() for all AsyncStream types (e.g. Pipes, TTYs, ... #4329

Merged
merged 1 commit into from
Sep 26, 2013

Conversation

nlhepler
Copy link
Contributor

...and TCP/UDP sockets)

@nlhepler
Copy link
Contributor Author

start_workers() issues a flush() after printing its address, which was barfing for anything connected via a TcpSocket (e.g. remotely connected workers).

@nlhepler
Copy link
Contributor Author

@loladiro could I bother you to review this? It's necessary to keep some of the ClusterManagers working ever since some of the churn in streams code.

Keno added a commit that referenced this pull request Sep 26, 2013
stream.jl: provide flush() for all AsyncStream types (e.g. Pipes, TTYs, ...
@Keno Keno merged commit 808f9ce into JuliaLang:master Sep 26, 2013
@Keno
Copy link
Member

Keno commented Sep 26, 2013

Yeah, I guess this is correct now that we're blocking tasks until the write is done.

@WestleyArgentum
Copy link
Member

Woot! Thanks guys

@nlhepler
Copy link
Contributor Author

Thanks!!!(!!!!!)

@nlhepler nlhepler deleted the lh/flush branch September 27, 2013 06:41
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.

3 participants