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

Can Channel.receive() be interrupted? #150

Open
changweige opened this issue Sep 7, 2020 · 0 comments
Open

Can Channel.receive() be interrupted? #150

changweige opened this issue Sep 7, 2020 · 0 comments

Comments

@changweige
Copy link

changweige commented Sep 7, 2020

Hi,
After a quick glance at this fuse-rs crate. If I didn't miss something, it seems that it can't be interrupted when reading(receive()) messages from fuse device like what libfuse does. Is that not essential for a fuse library?
Looks like that this fuse-rs relies on umount(2) to close in-kernel fuse device fd to unblock read(2).
Can we just interrupt read(2) and make relevant threads exit in an elegant way.
Or is Rust thread model limits?

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