mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03: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
@@ -84,7 +84,7 @@ void nxsem_timeout(int argc, wdparm_t pid, ...)
|
||||
* task may no longer be active when this watchdog goes off.
|
||||
*/
|
||||
|
||||
wtcb = sched_gettcb((pid_t)pid);
|
||||
wtcb = nxsched_get_tcb((pid_t)pid);
|
||||
|
||||
/* It is also possible that an interrupt/context switch beat us to the
|
||||
* punch and already changed the task's state.
|
||||
|
||||
Reference in New Issue
Block a user