From f12d9686d4d673e59b8f561c49996820763220b1 Mon Sep 17 00:00:00 2001 From: Joseph Dodge Date: Thu, 24 Aug 2017 14:37:10 +0200 Subject: Add idle_threads mount option. --- include/fuse.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'include/fuse.h') diff --git a/include/fuse.h b/include/fuse.h index 4898029..4816617 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -964,13 +964,17 @@ void fuse_exit(struct fuse *f); * in the callback function of fuse_operations is also thread-safe. * * @param f the FUSE handle - * @param clone_fd whether to use separate device fds for each thread - * (may increase performance) + * @param config loop configuration * @return see fuse_session_loop() * * See also: fuse_loop() */ -int fuse_loop_mt(struct fuse *f, int clone_fd); +#if FUSE_USE_VERSION < 32 +int fuse_loop_mt_31(struct fuse *f, int clone_fd); +#define fuse_loop_mt(f, clone_fd) fuse_loop_mt_31(f, clone_fd) +#else +int fuse_loop_mt(struct fuse *f, struct fuse_loop_config *config); +#endif /** * Get the current context -- cgit v1.2.3