Rename task_spawnattr_setstacksize to posix_spawnattr_setstacksize

follow up the kernel side change

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-10-31 12:37:50 +08:00 committed by Masayuki Ishikawa
parent 192f87b3ea
commit 678415c6fa
4 changed files with 6 additions and 6 deletions

View File

@ -110,7 +110,7 @@ int exec_builtin(FAR const char *appname, FAR char * const *argv,
goto errout_with_actions;
}
ret = task_spawnattr_setstacksize(&attr, builtin->stacksize);
ret = posix_spawnattr_setstacksize(&attr, builtin->stacksize);
if (ret != 0)
{
goto errout_with_actions;

View File

@ -151,7 +151,7 @@ int nsh_fileapp(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
goto errout_with_actions;
}
ret = task_spawnattr_setstacksize(&attr, builtin->stacksize);
ret = posix_spawnattr_setstacksize(&attr, builtin->stacksize);
if (ret != 0)
{
goto errout_with_actions;

View File

@ -198,8 +198,8 @@ FILE *popen(FAR const char *command, FAR const char *mode)
}
#ifndef CONFIG_SYSTEM_POPEN_SHPATH
errcode = task_spawnattr_setstacksize(&attr,
CONFIG_SYSTEM_POPEN_STACKSIZE);
errcode = posix_spawnattr_setstacksize(&attr,
CONFIG_SYSTEM_POPEN_STACKSIZE);
if (errcode != 0)
{
goto errout_with_actions;

View File

@ -91,8 +91,8 @@ int system(FAR const char *cmd)
goto errout_with_attrs;
}
errcode = task_spawnattr_setstacksize(&attr,
CONFIG_SYSTEM_SYSTEM_STACKSIZE);
errcode = posix_spawnattr_setstacksize(&attr,
CONFIG_SYSTEM_SYSTEM_STACKSIZE);
if (errcode != 0)
{
goto errout_with_attrs;