Comment by bb88
1 year ago
A file descriptor is nothing but a pointer. It's really just an int. Usually maintained by the OS.
Instead of sharing the file descriptor across a goroutine (bro, like WTF), let one go routine manage the file descriptor itself.
No comments yet
Contribute on Hacker News ↗