def __init__(self):
self.st_mode = stat.S_IFDIR | 0755
self.st_ino = 0 # handled by FUSE
self.st_dev = 0 # handled by FUSE
self.st_nlink = 2 # a directory has two links: itself and ".."
self.st_uid = 0
self.st_gid = 0
self.st_size = 4096
self.st_atime = 0
self.st_mtime = 0
self.st_ctime = 0
# Producer thread that reads data from a stream, writes it to a file (if given),
# and notifies other threads via a condition variable.
评论列表
文章目录