mirror of
https://github.com/apache/nuttx.git
synced 2026-09-27 18:58:27 +08:00
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:
committed by
Alan Carvalho de Assis
parent
8b289023bf
commit
a4218e2144
+1
-1
@@ -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
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user