incubator-nuttx/Documentation
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
..
_static docs: reduce main content max width from 1200px to 1000px 2021-03-26 23:41:45 -05:00
_templates Documentation: support versioned docs 2020-11-26 10:58:44 -08:00
applications cmd/free: add nused/nfree field in command free 2021-05-25 01:01:38 -07:00
components Documentation: Fix a few typos. 2021-04-28 17:00:23 -03:00
contributing Documentation: Fix a few typos. 2021-04-28 17:00:23 -03:00
faq Add more questions/answers to the FAQ 2021-04-15 08:11:54 -05:00
guides Documentation: Fix a few typos. 2021-04-28 17:00:23 -03:00
introduction Documentation: Fix a few typos. 2021-04-28 17:00:23 -03:00
platforms documentation/mpfs: add mpfs and icile board to documentation 2021-05-24 22:55:44 -05:00
quickstart Documentation: Fix a few typos. 2021-04-28 17:00:23 -03:00
reference sched/task: Simplify the syscall handling of task_spawn 2021-06-01 12:45:10 +09:00
.gitignore doc: add .python-version to .gitignore 2020-08-25 12:54:24 -07:00
Makefile doc: mention sphinx-autobuild in contributing section 2021-03-26 23:41:45 -05:00
Pipfile Documentation: update pipenv to include sphinx-autobuild 2021-04-07 22:34:33 +01:00
Pipfile.lock Documentation: update pipenv to include sphinx-autobuild 2021-04-07 22:34:33 +01:00
conf.py Lint Python code with flake8 and isort 2021-04-10 08:36:29 -07:00
glossary.rst rename doc/ -> Documentation/ 2020-08-24 10:29:55 -07:00
index.rst Documentation: Add FAQ entry 2021-04-14 15:09:21 -03:00
make.bat Documentation: Remove all tail spaces from *.rst and *.html 2020-10-18 10:51:22 -07:00
substitutions.rst rename doc/ -> Documentation/ 2020-08-24 10:29:55 -07:00