mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
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:
committed by
Alan Carvalho de Assis
parent
4b44b628ea
commit
f92dba212d
@@ -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.
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user