sched: Remove task_restart in case of CONFIG_BUILD_KERNEL

Same treatment as task_delete, this is not usable in kernel build
either.
This commit is contained in:
Ville Juven
2022-05-12 09:49:44 +03:00
committed by Xiang Xiao
parent fb1c1bfe6c
commit 5bcd1dbb64
3 changed files with 47 additions and 13 deletions
+1 -1
View File
@@ -173,7 +173,7 @@
"sysinfo","sys/sysinfo.h","","int","FAR struct sysinfo *"
"task_create","sched.h","!defined(CONFIG_BUILD_KERNEL)", "int","FAR const char *","int","int","main_t","FAR char * const []|FAR char * const *"
"task_delete","sched.h","!defined(CONFIG_BUILD_KERNEL)","int","pid_t"
"task_restart","sched.h","","int","pid_t"
"task_restart","sched.h","!defined(CONFIG_BUILD_KERNEL)","int","pid_t"
"task_setcancelstate","sched.h","","int","int","FAR int *"
"task_setcanceltype","sched.h","defined(CONFIG_CANCELLATION_POINTS)","int","int","FAR int *"
"task_spawn","nuttx/spawn.h","!defined(CONFIG_BUILD_KERNEL)","int","FAR const char *","main_t","FAR const posix_spawn_file_actions_t *","FAR const posix_spawnattr_t *","FAR char * const []|FAR char * const *","FAR char * const []|FAR char * const *"
1 _exit unistd.h noreturn int
173 sysinfo sys/sysinfo.h int FAR struct sysinfo *
174 task_create sched.h !defined(CONFIG_BUILD_KERNEL) int FAR const char *
175 task_delete sched.h !defined(CONFIG_BUILD_KERNEL) int pid_t
176 task_restart sched.h !defined(CONFIG_BUILD_KERNEL) int pid_t
177 task_setcancelstate sched.h int int
178 task_setcanceltype sched.h defined(CONFIG_CANCELLATION_POINTS) int int
179 task_spawn nuttx/spawn.h !defined(CONFIG_BUILD_KERNEL) int FAR const char *