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:
parent
192f87b3ea
commit
678415c6fa
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user