aboutsummaryrefslogtreecommitdiffstats
path: root/include/fuse.h
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2001-11-16 17:46:45 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2001-11-16 17:46:45 +0000
commitf830a7f84dda931307785dd9653c3627c9cc6386 (patch)
tree333cb16ef36317812ee41013e6f99872bce439c3 /include/fuse.h
parent680a69a8be8b7dd9bf1beae4e48e927d0fb1cd7f (diff)
downloadlibfuse-f830a7f84dda931307785dd9653c3627c9cc6386.tar.gz
multithreading works in Python
Diffstat (limited to 'include/fuse.h')
-rw-r--r--include/fuse.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/fuse.h b/include/fuse.h
index 0bf09e1..abdb45b 100644
--- a/include/fuse.h
+++ b/include/fuse.h
@@ -140,7 +140,8 @@ void fuse_destroy(struct fuse *f);
* ----------------------------------------------------------- */
struct fuse_cmd;
-
+typedef void (*fuse_processor_t)(struct fuse *, struct fuse_cmd *, void *);
struct fuse_cmd *__fuse_read_cmd(struct fuse *f);
-
void __fuse_process_cmd(struct fuse *f, struct fuse_cmd *cmd);
+void __fuse_loop_mt(struct fuse *f, fuse_processor_t proc, void *data);
+