diff options
Diffstat (limited to 'fuse/fuse.c')
-rw-r--r-- | fuse/fuse.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fuse/fuse.c b/fuse/fuse.c index 34b11d47a..588d44533 100644 --- a/fuse/fuse.c +++ b/fuse/fuse.c @@ -4579,7 +4579,11 @@ void fuse_stop_cleanup_thread(struct fuse *f) { if (lru_enabled(f)) { pthread_mutex_lock(&f->lock); +#ifndef ANDROID pthread_cancel(f->prune_thread); +#else + pthread_kill(f->prune_thread, SIGUSR1); +#endif pthread_mutex_unlock(&f->lock); pthread_join(f->prune_thread, NULL); } |