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 14:19:08 -03:00
committed by Alan Carvalho de Assis
parent 8b289023bf
commit a4218e2144
223 changed files with 604 additions and 604 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ FAR void *shmat(int shmid, FAR const void *shmaddr, int shmflg)
/* Get the TCB and group containing our virtual memory allocator */
tcb = sched_self();
tcb = nxsched_self();
DEBUGASSERT(tcb && tcb->group);
group = tcb->group;
DEBUGASSERT(group->tg_shm.gs_handle != NULL &&
+1 -1
View File
@@ -90,7 +90,7 @@ int shmdt(FAR const void *shmaddr)
/* Get the TCB and group containing our virtual memory allocator */
tcb = sched_self();
tcb = nxsched_self();
DEBUGASSERT(tcb && tcb->group);
group = tcb->group;
DEBUGASSERT(group->tg_shm.gs_handle != NULL);