mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
sched/: Make more naming consistent
Rename various functions per the quidelines 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
e6a984dc2b
commit
d823a3ab3e
@@ -936,8 +936,8 @@ void nxtask_starthook(FAR struct task_tcb_s *tcb, starthook_t starthook,
|
||||
*
|
||||
* 1) User code calls vfork(). vfork() is provided in architecture-specific
|
||||
* code.
|
||||
* 2) vfork()and calls nxtask_vforksetup().
|
||||
* 3) nxtask_vforksetup() allocates and configures the child task's TCB. This
|
||||
* 2) vfork()and calls nxtask_setup_vfork().
|
||||
* 3) nxtask_setup_vfork() allocates and configures the child task's TCB. This
|
||||
* consists of:
|
||||
* - Allocation of the child task's TCB.
|
||||
* - Initialization of file descriptors and streams
|
||||
@@ -948,16 +948,16 @@ void nxtask_starthook(FAR struct task_tcb_s *tcb, starthook_t starthook,
|
||||
* - Allocate and initialize the stack
|
||||
* - Initialize special values in any CPU registers that were not
|
||||
* already configured by up_initial_state()
|
||||
* 5) vfork() then calls nxtask_vforkstart()
|
||||
* 6) nxtask_vforkstart() then executes the child thread.
|
||||
* 5) vfork() then calls nxtask_start_vfork()
|
||||
* 6) nxtask_start_vfork() then executes the child thread.
|
||||
*
|
||||
* nxtask_vforkabort() may be called if an error occurs between steps 3 and 6.
|
||||
* nxtask_abort_vfork() may be called if an error occurs between steps 3 and 6.
|
||||
*
|
||||
********************************************************************************/
|
||||
|
||||
FAR struct task_tcb_s *nxtask_vforksetup(start_t retaddr, size_t *argsize);
|
||||
pid_t nxtask_vforkstart(FAR struct task_tcb_s *child);
|
||||
void nxtask_vforkabort(FAR struct task_tcb_s *child, int errcode);
|
||||
FAR struct task_tcb_s *nxtask_setup_vfork(start_t retaddr, size_t *argsize);
|
||||
pid_t nxtask_start_vfork(FAR struct task_tcb_s *child);
|
||||
void nxtask_abort_vfork(FAR struct task_tcb_s *child, int errcode);
|
||||
|
||||
/********************************************************************************
|
||||
* Name: group_exitinfo
|
||||
|
||||
Reference in New Issue
Block a user