include/nuttx/sched.h: Make naming of all internal names consistent:

1. Add internal scheduler functions should begin with nxsched_, not sched_
2. Follow the consistent naming patter of https://cwiki.apache.org/confluence/display/NUTTX/Naming+of+OS+Internal+Functions
This commit is contained in:
Gregory Nutt
2020-05-09 08:04:45 -06:00
committed by Alan Carvalho de Assis
parent 8b289023bf
commit a4218e2144
223 changed files with 604 additions and 604 deletions
+3 -3
View File
@@ -112,7 +112,7 @@ static int nxtask_spawn_exec(FAR pid_t *pidp, FAR const char *name,
/* Set the default priority to the same priority as this task */
ret = nxsched_getparam(0, &param);
ret = nxsched_get_param(0, &param);
if (ret < 0)
{
ret = -ret;
@@ -366,10 +366,10 @@ int task_spawn(FAR pid_t *pid, FAR const char *name, main_t entry,
/* Get the priority of this (parent) task */
ret = nxsched_getparam(0, &param);
ret = nxsched_get_param(0, &param);
if (ret < 0)
{
serr("ERROR: nxsched_getparam failed: %d\n", ret);
serr("ERROR: nxsched_get_param failed: %d\n", ret);
spawn_semgive(&g_spawn_parmsem);
return -ret;
}