nuttx/Documentation/reference/user
Xiang Xiao c997bf0f52 sched/task: Simplify the syscall handling of task_spawn
It's better to save one argument by returning pid directly.
This change also follow the convention of task_create.
BTW, it is reasonable to adjust the function prototype a
little bit from both implementation and consistency since
task_spawn is NuttX specific API.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Id74f4dd1ef26dfd8f7c473684cf1a45fbeee13cf
2021-06-13 00:30:57 -07:00
..
01_task_control.rst sched/task: Simplify the syscall handling of task_spawn 2021-06-13 00:30:57 -07:00
02_task_scheduling.rst
03_task_control.rst
04_message_queue.rst
05_counting_semaphore.rst
06_clocks_timers.rst
07_signals.rst
08_pthread.rst
09_env_vars.rst
10_filesystem.rst
11_network.rst
12_shared_memory.rst
13_boardctl.rst
13_logging.rst
index.rst
structures.rst