随笔分类 -  操作系统

摘要:#include <linux/wait.h> typedef int (*wait_queue_func_t)(wait_queue_t *wait, unsigned mode, int flags, void *key);int default_wake_function(wait_queue_t *wait, unsigned mode, int flags, void *key);struct __wait_queue_head { spinlock_t lock; struct list_head task_list;};typedef struct __wait_qu 阅读全文
posted @ 2011-08-18 19:17 TIANCJ 阅读(5556) 评论(0) 推荐(0)
摘要:How Fuse-1.3 Works[这篇文档已经有点老了, 不过对于了解FUSE工作原理的朋友来讲已经够了.][Written by Terje Oseberg]1. The fuse library.When your user mode program calls fuse_main() (lib/helper.c), fuse_main() parses the arguments passed to your user mode program, then calls fuse_mount() (lib/mount.c).fuse_mount() creates a UNIX do. 阅读全文
posted @ 2011-08-18 13:56 TIANCJ 阅读(2929) 评论(0) 推荐(0)