Re:Debugging a Golang Bug with Non-Blocking Reads
by memset on Wednesday March 13, 2024 @07:53AM
(#39690362)
I’m not sure you can. Both the Open() and Read() calls will block. You can select() on a pipe but not on open. I haven’t checked to see if you can select on a non blocking fd though. This is what the go wrappers do behind the scenes.
[ Parent
| on HN ]
There are no comments on this comment yet.