|
xt-sdk 文档 v1.0.3
xt-sdk 嵌入式 SDK API 参考
|
线程上下文——存储每线程 errno 和可选 CWD 更多...
#include <xt_vfs_port.h>
成员变量 | |
| void * | thread_id |
| int32_t | last_errno |
| uint16_t | open_count |
| char | cwd [128] |
线程上下文——存储每线程 errno 和可选 CWD
在文件 xt_vfs_port.h 第 162 行定义.
| char xt_vfs_thread_ctx::cwd[128] |
始终存在,CWD 关闭时占位不分配 API
在文件 xt_vfs_port.h 第 166 行定义.
| int32_t xt_vfs_thread_ctx::last_errno |
该线程最后一次错误码
在文件 xt_vfs_port.h 第 164 行定义.
| uint16_t xt_vfs_thread_ctx::open_count |
该线程当前打开的文件/目录句柄计数
在文件 xt_vfs_port.h 第 165 行定义.
| void* xt_vfs_thread_ctx::thread_id |
线程 ID,无 OS 时为 NULL
在文件 xt_vfs_port.h 第 163 行定义.