sched/sched/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 12:40:14 -06:00
committed by Alan Carvalho de Assis
parent 4b44b628ea
commit f92dba212d
134 changed files with 508 additions and 523 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ void pg_miss(void)
pginfo("New worker priority. %d->%d\n",
wtcb->sched_priority, ftcb->sched_priority);
nxsched_setpriority(wtcb, ftcb->sched_priority);
nxsched_set_priority(wtcb, ftcb->sched_priority);
}
/* Signal the page fill worker thread.
+3 -3
View File
@@ -177,7 +177,7 @@ static void pg_callback(FAR struct tcb_s *tcb, int result)
{
pginfo("New worker priority. %d->%d\n",
wtcb->sched_priority, priority);
nxsched_setpriority(wtcb, priority);
nxsched_set_priority(wtcb, priority);
}
/* Save the page fill result (don't permit the value -EBUSY) */
@@ -289,7 +289,7 @@ static inline bool pg_dequeue(void)
pginfo("New worker priority. %d->%d\n",
wtcb->sched_priority, priority);
nxsched_setpriority(wtcb, priority);
nxsched_set_priority(wtcb, priority);
}
/* Return with g_pftcb holding the pointer to
@@ -456,7 +456,7 @@ static inline void pg_alldone(void)
g_pftcb = NULL;
pginfo("New worker priority. %d->%d\n",
wtcb->sched_priority, CONFIG_PAGING_DEFPRIO);
nxsched_setpriority(wtcb, CONFIG_PAGING_DEFPRIO);
nxsched_set_priority(wtcb, CONFIG_PAGING_DEFPRIO);
}
/****************************************************************************