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;
|
goto errout_with_actions;
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = task_spawnattr_setstacksize(&attr, builtin->stacksize);
|
ret = posix_spawnattr_setstacksize(&attr, builtin->stacksize);
|
||||||
if (ret != 0)
|
if (ret != 0)
|
||||||
{
|
{
|
||||||
goto errout_with_actions;
|
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;
|
goto errout_with_actions;
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = task_spawnattr_setstacksize(&attr, builtin->stacksize);
|
ret = posix_spawnattr_setstacksize(&attr, builtin->stacksize);
|
||||||
if (ret != 0)
|
if (ret != 0)
|
||||||
{
|
{
|
||||||
goto errout_with_actions;
|
goto errout_with_actions;
|
||||||
|
@ -198,7 +198,7 @@ FILE *popen(FAR const char *command, FAR const char *mode)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifndef CONFIG_SYSTEM_POPEN_SHPATH
|
#ifndef CONFIG_SYSTEM_POPEN_SHPATH
|
||||||
errcode = task_spawnattr_setstacksize(&attr,
|
errcode = posix_spawnattr_setstacksize(&attr,
|
||||||
CONFIG_SYSTEM_POPEN_STACKSIZE);
|
CONFIG_SYSTEM_POPEN_STACKSIZE);
|
||||||
if (errcode != 0)
|
if (errcode != 0)
|
||||||
{
|
{
|
||||||
|
@ -91,7 +91,7 @@ int system(FAR const char *cmd)
|
|||||||
goto errout_with_attrs;
|
goto errout_with_attrs;
|
||||||
}
|
}
|
||||||
|
|
||||||
errcode = task_spawnattr_setstacksize(&attr,
|
errcode = posix_spawnattr_setstacksize(&attr,
|
||||||
CONFIG_SYSTEM_SYSTEM_STACKSIZE);
|
CONFIG_SYSTEM_SYSTEM_STACKSIZE);
|
||||||
if (errcode != 0)
|
if (errcode != 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user