nuttx/sched
Xiang Xiao ae216cf9e9 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>
2021-06-01 12:45:10 +09:00
..
clock sched: update licenses to Apache 2021-05-25 08:46:53 -05:00
environ sched: nxstyle fixes 2021-02-09 01:21:53 -08:00
group Don't include debug.h from public header file 2021-06-01 06:42:02 +09:00
init smp: Remove CONFIG_SMP_IDLETHREAD_STACKSIZE 2021-04-19 21:46:39 -05:00
irq Don't include debug.h from public header file 2021-06-01 06:42:02 +09:00
module Don't include debug.h from public header file 2021-06-01 06:42:02 +09:00
mqueue mqueue, btqueue: Fix some typos (e.g., essage -> message) 2021-05-25 07:39:24 +09:00
paging sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
pthread Don't include debug.h from public header file 2021-06-01 06:42:02 +09:00
sched Don't include debug.h from public header file 2021-06-01 06:42:02 +09:00
semaphore sched: Don't include nuttx/sched.h inside sched.h 2021-05-24 12:11:53 +09:00
signal sched: Don't include nuttx/sched.h inside sched.h 2021-05-24 12:11:53 +09:00
task sched/task: Simplify the syscall handling of task_spawn 2021-06-01 12:45:10 +09:00
timer sched/timer: get the previous reload value correctly 2021-01-26 18:22:54 -08:00
wdog sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
wqueue Don't include debug.h from public header file 2021-06-01 06:42:02 +09:00
Kconfig smp: Remove CONFIG_SMP_IDLETHREAD_STACKSIZE 2021-04-19 21:46:39 -05:00
Makefile style/Makefile: remove unnecessary trailing whitespace 2020-11-28 12:20:30 +01:00