diff options
author | Flemmard <flemmard@gmail.com> | 2014-03-10 20:18:45 +0100 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit> | 2014-06-30 19:01:33 +0200 |
commit | 60bf94ec27a04dfee53b16e9a7e40f1e599b6d00 (patch) | |
tree | 255845dae9703d57e194617b4ef2eb3d7db75d50 /fuse/fuse.c | |
parent | libdl should also be linked to binary (diff) | |
download | android_bootable_recovery-60bf94ec27a04dfee53b16e9a7e40f1e599b6d00.tar android_bootable_recovery-60bf94ec27a04dfee53b16e9a7e40f1e599b6d00.tar.gz android_bootable_recovery-60bf94ec27a04dfee53b16e9a7e40f1e599b6d00.tar.bz2 android_bootable_recovery-60bf94ec27a04dfee53b16e9a7e40f1e599b6d00.tar.lz android_bootable_recovery-60bf94ec27a04dfee53b16e9a7e40f1e599b6d00.tar.xz android_bootable_recovery-60bf94ec27a04dfee53b16e9a7e40f1e599b6d00.tar.zst android_bootable_recovery-60bf94ec27a04dfee53b16e9a7e40f1e599b6d00.zip |
Diffstat (limited to '')
-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); } |