[lwp]给thread添加lwp成员

This commit is contained in:
heyuanjie
2018-07-30 11:12:12 +08:00
parent e6fedb6e9b
commit c79fbd373f
4 changed files with 15 additions and 10 deletions
+1 -1
View File
@@ -510,7 +510,7 @@ struct dfs_fdtable* dfs_fdtable_get(void)
#ifdef RT_USING_LWP
struct rt_lwp *lwp;
lwp = (struct rt_lwp *)rt_thread_self()->user_data;
lwp = (struct rt_lwp *)rt_thread_self()->lwp;
if (lwp)
fdt = &lwp->fdt;
else