add setting of thread pool size

This commit is contained in:
Antonio SJ Musumeci 2017-07-02 14:39:59 -04:00
parent 8043829815
commit 75ed37a11a
9 changed files with 54 additions and 8 deletions

View file

@ -115,7 +115,7 @@ struct fuse_operations {
*/
int (*mknod) (const char *, mode_t, dev_t);
/** Create a directory
/** Create a directory
*
* Note that the mode argument may not have the type specification
* bits set, i.e. S_ISDIR(mode) can be false. To obtain the
@ -696,6 +696,8 @@ int fuse_loop(struct fuse *f);
*/
void fuse_exit(struct fuse *f);
int fuse_config_num_threads(const struct fuse *f);
/**
* FUSE event loop with multiple threads
*

View file

@ -1700,7 +1700,7 @@ int fuse_session_loop(struct fuse_session *se);
* @param se the session
* @return 0 on success, -1 on error
*/
int fuse_session_loop_mt(struct fuse_session *se);
int fuse_session_loop_mt(struct fuse_session *se, const int threads);
/* ----------------------------------------------------------- *
* Channel interface *