nuttx/sched
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
..
clock sched: Don't include nuttx/sched.h inside sched.h 2021-06-13 00:25:26 -07:00
environ sched: nxstyle fixes 2021-02-09 01:21:53 -08:00
group sched: Don't include nuttx/sched.h inside sched.h 2021-06-13 00:25:26 -07:00
init arch: adjust idle stack offset to reserve space of stack info 2021-06-09 23:22:02 +08:00
irq sched: add CONFIG_SCHED_CRITMONITOR_XX for debugging system lantency 2021-05-08 20:49:51 +08:00
module modlib: Always use separate allocation for text and data 2021-04-19 22:20:20 -05:00
mqueue sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
paging sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
pthread sched: Don't include nuttx/sched.h inside sched.h 2021-06-13 00:25:26 -07:00
sched sched: add CONFIG_SCHED_CRITMONITOR_XX for debugging system lantency 2021-05-08 20:49:51 +08:00
semaphore sched: Don't include nuttx/sched.h inside sched.h 2021-06-13 00:25:26 -07:00
signal sched: Don't include nuttx/sched.h inside sched.h 2021-06-13 00:25:26 -07:00
task sched/task: Simplify the syscall handling of task_spawn 2021-06-13 00:30:57 -07:00
timer sched/timer: get the previous reload value correctly 2021-01-26 18:22:54 -08:00
wdog sched: add CONFIG_SCHED_CRITMONITOR_XX for debugging system lantency 2021-05-08 20:49:51 +08:00
wqueue sched: add CONFIG_SCHED_CRITMONITOR_XX for debugging system lantency 2021-05-08 20:49:51 +08:00
Kconfig sched: add CONFIG_SCHED_CRITMONITOR_XX for debugging system lantency 2021-05-08 20:49:51 +08:00
Makefile make/archive: replace the dependency to preprequisite list 2021-05-07 21:34:45 +08:00