📄 fminfo.h
字号:
/* *---------------------------------------------------------------------- * T-Kernel / Standard Extension * * Copyright (C) 2006 by Ken Sakamura. All rights reserved. * T-Kernel / Standard Extension is distributed * under the T-License for T-Kernel / Standard Extension. *---------------------------------------------------------------------- * * Version: 1.00.00 * Released by T-Engine Forum(http://www.t-engine.org) at 2006/8/11. * *---------------------------------------------------------------------- *//* * fminfo.h (file) * * File management * Common definition of the file manager task (Common section task) */#ifndef _FM_FMINFO_H_#define _FM_FMINFO_H_#include "filemgr.h"#include "filedes.h"/* * Information of the file management common section */typedef struct FmInfo { FastLock lock; /* For exclusive access */ ID entryPort; /* Command reception port */ ID mgrTaskID[2]; /* Manager task (Common section task) Two tasks: One for reception and the other for forwarding */ QUEUE fsLink; /* Link to FsInfo */ FDTInfo fdtInfo; /* File descriptor management information */ ID syncExecFlag; /* Synchronous execution control flag (Semaphore) */ /* System configuration information */ PRI mgrTskPri; /* Manager task priority */ PRI fsTskPri; /* File system task priority */ W maxOpenFile; /* The maximum number of files that can be opened at a time */ TMO syncTimeOut; /* Synchronous timeout time (Millisecond) */ UH updTimeStamp; /* Time stamp update control */} FmInfo;IMPORT FmInfo fmInfo;/* * Value of updTimeStamp * 0 : Normal (Default) * 1 : The time stamp is not updated. */#define UTS_RecordRead 0x0001U /* When reading records */#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -