From f830a7f84dda931307785dd9653c3627c9cc6386 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Fri, 16 Nov 2001 17:46:45 +0000 Subject: multithreading works in Python --- include/fuse.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/fuse.h') 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); + -- cgit v1.2.3