-
-
Notifications
You must be signed in to change notification settings - Fork 15
Don't drain when setting the mode #45
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
base: julia-uv2-1.48.0
Are you sure you want to change the base?
Conversation
|
Seems potentially dangerous if this is not ordered with respect to writes. Is there a julia issue this fixes? |
|
We're changing read parameters since we have the read side of the stream. We should not be adding a synchronization point with writers here, which might not even be our process. |
|
Kinda, on my PR that enables try_write that drain causes deadlocks libuv#4944 |
looks like an output flag to me |
|
UV_TTY_MODE_RAW is deprecated because it was implemented wrong. Only nodejs should be still using that (since they never fix bugs) |
|
no, you're misreading that flag name (added in libuv#4688) |
|
See the second link I posted |
|
Well, we are apparently very bad at writing software too
|
|
Anyways, libuv is forbidden from running any blocking calls (especially IO) such as TCSADRAIN. If it wants to implement tcdrain because a user wants to call that, it needs to do that in the threadpool. |
No description provided.