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

Allow shared Read and Write for Device #26

Closed
zonyitoo opened this issue Jan 3, 2021 · 0 comments
Closed

Allow shared Read and Write for Device #26

zonyitoo opened this issue Jan 3, 2021 · 0 comments

Comments

@zonyitoo
Copy link
Contributor

zonyitoo commented Jan 3, 2021

Syscall read and write on tun's fd could be shared multithreaded. So it would be nice to have

impl<'a> Read for &'a Tun { ... }
impl<'a> Write for &'a Tun { ... }
@zonyitoo zonyitoo closed this as completed Jan 3, 2021
zonyitoo pushed a commit to zonyitoo/rust-tun that referenced this issue Feb 18, 2024
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

No branches or pull requests

1 participant