nuttx/Documentation
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
..
_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 fs: delete NFILE_DESCRIPTORS for allocating dynamically 2021-03-17 06:46:42 -07:00
components syslog: syslog_device ops are handled internally by the driver. 2021-04-09 08:02:38 -05:00
contributing docs and comments: Update stale references to COPYING 2021-04-01 21:10:56 -05:00
faq Add more questions/answers to the FAQ 2021-04-15 08:11:54 -05:00
guides Documentation: Minor fixes 2021-04-20 21:31:18 -05:00
introduction Add experimental support for an eZ80 toolchain using llvm and GNU binutils. 2021-05-10 19:23:33 +08:00
platforms Documentation: Minor fixes 2021-04-20 21:31:18 -05:00
quickstart Remove nr5m100(risc-v) arch and board source code 2021-03-11 10:51:11 -08:00
reference sched/task: Simplify the syscall handling of task_spawn 2021-06-13 00:30:57 -07:00
.gitignore doc: add .python-version to .gitignore 2020-08-25 12:54:24 -07: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
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
substitutions.rst rename doc/ -> Documentation/ 2020-08-24 10:29:55 -07:00