Beispiel #1
0
int daemon_unmount_volume(struct afp_volume * volume)
{
	if (volume->priv) {
		fuse_exit((struct fuse *)volume->priv);
		pthread_kill(volume->thread, SIGHUP);
		pthread_join(volume->thread,NULL);
	}
	return 0;
}
Beispiel #2
0
static void exit_handler(int sig)
{
	if(fuse_instance) {
		fuse_exit(fuse_instance);
		fuse_unmount(fuse_mountpoint, fuse_chan);
		fuse_destroy(fuse_instance);
	}
	_exit(0);
}
Beispiel #3
0
/* 
* Tells uproc to exit.
*/
void uproc_exit(uproc_ctx_t *ctx) {
    fuse_exit(ctx->fuse);
}