Skip to main content

Posts

Showing posts from 2015

libfuse for android version 2.9.4

Mentioned below are the code changes that are required to successfully compile and use libfuse 2.9.4 on Android platform. Download libfuse version 2.9.4 for linux from below given URL. http://sourceforge.net/projects/fuse/ File : fuse.c  4569a4570,4574 > static void thread_exit_handler(int sig) > { >   pthread_exit(0); > } > 4574a4580,4593 > #if 1 >     struct sigaction actions; >     memset(&actions, 0, sizeof(actions)); >     sigemptyset(&actions.sa_mask); >     actions.sa_flags = 0; >     actions.sa_handler = thread_exit_handler; >     sigaction(SIGUSR1, &actions, NULL); > >     sigset_t setusr1; >     sigemptyset(&setusr1); >     sigaddset(&setusr1, SIGUSR1); >     pthread_sigmask(SIG_BLOCK, &setusr1, NULL); > #endif > 4593a4613 > #if 0 4594a4615,4618 > #else >         pthread_kill(f->prune_thread, SIGUSR1); > #endif > File : fuse_loop_mt.c 65a66