Skip to content

When does the dokanloop thread exit #976

Answered by Liryna
zqlustc asked this question in Q&A
Discussion options

You must be logged in to vote

fuse_exit will trigger an unmount which releases the thread B from the fuse_loop and call fuse_teardown that releases the dokan attached resources.

if (multithreaded)
res = fuse_loop_mt(fuse);
else
res = fuse_loop(fuse);
fuse_teardown(fuse, mountpoint);

Thread B is never abruptly killed or terminate suddenly. It will leave the loop and follow the path described.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@zqlustc
Comment options

@Liryna
Comment options

@zqlustc
Comment options

@Liryna
Comment options

@zqlustc
Comment options

Answer selected by zqlustc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants