aboutsummaryrefslogtreecommitdiff
path: root/include/fuse.h
diff options
context:
space:
mode:
authorJoseph Dodge <joseph.dodge@veritas.com>2017-08-24 14:37:10 +0200
committerNikolaus Rath <Nikolaus@rath.org>2017-08-24 15:17:01 +0200
commitf12d9686d4d673e59b8f561c49996820763220b1 (patch)
treea06f9f3941f2abe727eb06f5ff1ec70972498208 /include/fuse.h
parentfc83143867a37e34a51ce5a6d763b46715abf02d (diff)
downloadlibfuse-f12d9686d4d673e59b8f561c49996820763220b1.tar.gz
Add idle_threads mount option.
Diffstat (limited to 'include/fuse.h')
-rw-r--r--include/fuse.h10
1 files changed, 7 insertions, 3 deletions
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