mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 00:52:11 +08:00
Make task_init() and task_activate() internal OS functions.
-Move task_init() and task_activate() prototypes from include/sched.h to include/nuttx/sched.h. These are internal OS functions and should not be exposed to the user. -Remove references to task_init() and task_activate() from the User Manual. -Rename task_init() to nxtask_init() since since it is an OS internal function -Rename task_activate() to nxtask_activate since it is an OS internal function
This commit is contained in:
committed by
Abdelatif Guettouche
parent
dd9d9878ad
commit
82debdc213
@@ -176,9 +176,9 @@ errout:
|
||||
* to perform these operations?
|
||||
* A: Good idea, except that existing nxtask_starthook() implementation
|
||||
* cannot be used here unless we get rid of task_create and, instead,
|
||||
* use task_init() and task_activate(). start_taskhook() could then
|
||||
* be called between task_init() and task_activate(). task_restart()
|
||||
* would still be an issue.
|
||||
* use nxtask_init() and nxtask_activate(). start_taskhook() could then
|
||||
* be called between nxtask_init() and nxtask_activate().
|
||||
* task_restart() would still be an issue.
|
||||
*
|
||||
* Input Parameters:
|
||||
* Standard task start-up parameters
|
||||
|
||||
Reference in New Issue
Block a user