sched: Don't duplicate caller file handler when creating kernel thread

kernel thread should have only the starndard file i/o just like idle thread

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2022-01-31 23:19:44 +08:00
committed by Masayuki Ishikawa
parent d48946063a
commit 5c5f1dec08
3 changed files with 27 additions and 18 deletions
+2 -1
View File
@@ -759,7 +759,8 @@ void files_releaselist(FAR struct filelist *list);
*
****************************************************************************/
int files_duplist(FAR struct filelist *plist, FAR struct filelist *clist);
int files_duplist(FAR struct filelist *plist,
FAR struct filelist *clist, bool stdio_only);
/****************************************************************************
* Name: file_dup