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
..
2021-03-17 06:46:42 -07:00
2021-04-01 01:24:12 -05:00
2021-04-01 14:54:33 -03:00
2020-04-30 08:46:21 -06:00
2021-03-26 18:04:59 +01:00
2021-01-06 14:23:50 +08:00
2021-05-12 21:08:23 -07:00
2021-05-11 16:40:33 +01:00
2021-04-11 01:50:34 -05:00